home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-02-10 | 432.8 KB | [ STAK/MWPR]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
You can browse this item here: MacWrite Pro Help
Confidence Program Detection Match Type Support
100%
dexvert
HyperCard Stack (archive/hypercard)
idMeta
Supported
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
100%
file
MacBinary II, inited, Wed Feb 10 13:00:00 1993, modified Wed Feb 10 13:00:00 1993, creator 'MWPR', type HyperCard stack, 432928 bytes "MacWrite Pro Help" , at 0x69ba0 9902 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Mac HyperCard stack (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
lsar
MacBinary
default
id metadata key value macFileType [ STAK] macFileCreator [ MWPR]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 11 4d 61 63 57 72 69 | 74 65 20 50 72 6f 20 48 |..MacWri|te Pro H| |00000010| 65 6c 70 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |elp.....|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 53 54 41 4b 4d 57 50 | 52 01 00 00 00 00 00 00 |.STAKMWP|R.......| |00000050| 00 00 00 00 06 9b 20 00 | 00 26 ae a7 9e f3 20 a7 |...... .|.&.... .| |00000060| 9e f3 20 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.. .....|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 94 f0 00 00 |........|........| |00000080| 00 00 6a 00 53 54 41 4b | ff ff ff ff d6 c8 24 32 |..j.STAK|......$2| |00000090| 00 00 00 08 00 06 9b 20 | 00 00 6a 00 00 00 00 00 |....... |..j.....| |000000a0| 00 00 00 05 00 00 00 07 | 00 00 1b 2d 00 00 00 ad |........|...-....| |000000b0| 00 00 08 54 00 00 b4 a0 | 00 00 00 00 00 00 00 00 |...T....|........| |000000c0| 00 00 33 c0 00 00 00 00 | 00 01 00 00 90 00 00 00 |..3.....|........| |000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000000e0| 01 22 80 00 01 25 80 00 | 01 25 80 00 01 25 80 00 |."...%..|.%...%..| |000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........| |00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""| |00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.| |00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........| |00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........| |00000390| 10 82 00 10 00 82 00 10 | ff ff ff ff ff ff ff ff |........|........| |000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.| |000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......| |000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"| |000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.| |000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U| |000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....| |00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....| |00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........| |00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...| |00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....| |00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........| |00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........| |00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........| |00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P| |00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000680| 6f 6e 20 6f 70 65 6e 53 | 74 61 63 6b 0d 70 75 73 |on openS|tack.pus| |00000690| 68 20 63 64 0d 65 6e 64 | 20 6f 70 65 6e 53 74 61 |h cd.end| openSta| |000006a0| 63 6b 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 76 65 72 |ck..func|tion ver| |000006b0| 73 0d 72 65 74 75 72 6e | 20 22 4d 61 63 57 72 69 |s.return| "MacWri| |000006c0| 74 65 20 50 72 6f 20 48 | 65 6c 70 20 31 2f 32 35 |te Pro H|elp 1/25| |000006d0| 2f 39 33 76 31 22 0d 65 | 6e 64 20 76 65 72 73 0d |/93v1".e|nd vers.| |000006e0| 00 61 72 20 63 6b 20 6f | 66 20 73 74 72 0d 65 6e |.ar ck o|f str.en| |000006f0| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return | |00000700| 73 74 72 0d 65 6e 64 20 | 64 65 6c 51 75 6f 74 65 |str.end |delQuote| |00000710| 73 0d 0d 6f 6e 20 64 6f | 50 72 69 6e 74 20 78 0d |s..on do|Print x.| |00000720| 70 75 73 68 20 63 64 0d | 67 6c 6f 62 61 6c 20 63 |push cd.|global c| |00000730| 64 43 6f 75 6e 74 0d 70 | 75 74 20 31 20 69 6e 74 |dCount.p|ut 1 int| |00000740| 6f 20 63 64 43 6f 75 6e | 74 0d 67 6f 20 63 64 20 |o cdCoun|t.go cd | |00000750| 22 43 6f 6e 74 65 6e 74 | 73 20 54 65 6d 70 6c 61 |"Content|s Templa| |00000760| 74 65 22 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |te".lock| screen.| |00000770| 61 6e 73 77 65 72 20 22 | 50 72 69 6e 74 20 54 4f |answer "|Print TO| |00000780| 43 2c 20 63 68 61 70 74 | 65 72 2c 20 6f 72 20 77 |C, chapt|er, or w| |00000790| 68 6f 6c 65 20 73 74 61 | 63 6b 3f 22 20 77 69 74 |hole sta|ck?" wit| |000007a0| 68 20 22 54 4f 43 22 20 | 6f 72 20 22 43 68 61 70 |h "TOC" |or "Chap| |000007b0| 74 65 72 22 c2 0d 6f 72 | 20 22 53 74 61 63 6b 22 |ter"..or| "Stack"| |000007c0| 0d 69 66 20 69 74 20 3d | 20 22 54 4f 43 22 20 74 |.if it =| "TOC" t| |000007d0| 68 65 6e 0d 6f 70 65 6e | 20 70 72 69 6e 74 69 6e |hen.open| printin| |000007e0| 67 20 77 69 74 68 20 64 | 69 61 6c 6f 67 0d 70 72 |g with d|ialog.pr| |000007f0| 69 6e 74 54 4f 43 0d 65 | 6c 73 65 0d 69 66 20 69 |intTOC.e|lse.if i| |00000800| 74 20 3d 20 22 53 74 61 | 63 6b 22 20 74 68 65 6e |t = "Sta|ck" then| |00000810| 0d 61 6e 73 77 65 72 20 | 22 50 72 69 6e 74 20 61 |.answer |"Print a| |00000820| 6c 6c 20 63 6c 69 63 6b | 61 62 6c 65 20 66 69 65 |ll click|able fie| |00000830| 6c 64 73 20 26 20 54 4f | 43 3f 22 20 77 69 74 68 |lds & TO|C?" with| |00000840| 20 22 4e 6f 22 20 6f 72 | 20 22 59 65 73 22 0d 69 | "No" or| "Yes".i| |00000850| 66 20 69 74 20 3d 20 22 | 59 65 73 22 20 74 68 65 |f it = "|Yes" the| |00000860| 6e 0d 6f 70 65 6e 20 70 | 72 69 6e 74 69 6e 67 20 |n.open p|rinting | |00000870| 77 69 74 68 20 64 69 61 | 6c 6f 67 0d 70 72 69 6e |with dia|log.prin| |00000880| 74 54 4f 43 0d 70 72 69 | 6e 74 43 68 61 70 20 22 |tTOC.pri|ntChap "| |00000890| 21 53 21 22 0d 65 6c 73 | 65 0d 64 6f 4d 65 6e 75 |!S!".els|e.doMenu| |000008a0| 20 22 50 72 69 6e 74 20 | 53 74 61 63 6b 2e 2e 2e | "Print |Stack...| |000008b0| 22 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 0d 6f 70 |".end if|.else.op| |000008c0| 65 6e 20 70 72 69 6e 74 | 69 6e 67 20 77 69 74 68 |en print|ing with| |000008d0| 20 64 69 61 6c 6f 67 0d | 70 72 69 6e 74 43 68 61 | dialog.|printCha| |000008e0| 70 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |p.end if|.end if.| |000008f0| 63 6c 6f 73 65 20 70 72 | 69 6e 74 69 6e 67 0d 70 |close pr|inting.p| |00000900| 6f 70 20 63 64 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |op cd.un|lock scr| |00000910| 65 65 6e 0d 65 6e 64 20 | 64 6f 50 72 69 6e 74 0d |een.end |doPrint.| |00000920| 0d 6f 6e 20 64 6f 42 50 | 72 69 6e 74 0d 61 6e 73 |.on doBP|rint.ans| |00000930| 77 65 72 20 22 50 72 69 | 6e 74 20 74 68 65 20 63 |wer "Pri|nt the c| |00000940| 75 72 72 65 6e 74 3a 22 | 20 77 69 74 68 20 22 43 |urrent:"| with "C| |00000950| 68 61 70 74 65 72 22 20 | 6f 72 20 22 54 6f 70 69 |hapter" |or "Topi| |00000960| 63 22 20 6f 72 20 22 43 | 61 6e 63 65 6c 22 0d 69 |c" or "C|ancel".i| |00000970| 66 20 69 74 20 3d 20 22 | 43 61 6e 63 65 6c 22 20 |f it = "|Cancel" | |00000980| 74 68 65 6e 0d 65 78 69 | 74 20 64 6f 42 50 72 69 |then.exi|t doBPri| |00000990| 6e 74 0d 65 6c 73 65 0d | 69 66 20 69 74 20 3d 20 |nt.else.|if it = | |000009a0| 22 43 68 61 70 74 65 72 | 22 20 74 68 65 6e 0d 70 |"Chapter|" then.p| |000009b0| 72 69 6e 74 43 68 61 70 | 20 28 6c 69 6e 65 20 31 |rintChap| (line 1| |000009c0| 20 6f 66 20 66 6c 64 20 | 22 43 68 61 70 74 65 72 | of fld |"Chapter| |000009d0| 22 29 0d 65 6c 73 65 0d | 69 66 20 69 74 20 3d 20 |").else.|if it = | |000009e0| 22 54 6f 70 69 63 22 20 | 74 68 65 6e 0d 70 72 69 |"Topic" |then.pri| |000009f0| 6e 74 54 6f 70 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ntTop.en|d if.end| |00000a00| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 64 | if.end |if.end d| |00000a10| 6f 42 50 72 69 6e 74 0d | 0d 6f 6e 20 70 72 69 6e |oBPrint.|.on prin| |00000a20| 74 43 68 61 70 20 78 0d | 69 66 20 78 20 3d 20 22 |tChap x.|if x = "| |00000a30| 22 20 74 68 65 6e 0d 61 | 73 6b 20 22 50 72 69 6e |" then.a|sk "Prin| |00000a40| 74 20 77 68 69 63 68 20 | 63 68 61 70 74 65 72 3f |t which |chapter?| |00000a50| 22 0d 69 66 20 69 74 20 | 3d 20 22 22 20 74 68 65 |".if it |= "" the| |00000a60| 6e 0d 65 78 69 74 20 70 | 72 69 6e 74 43 68 61 70 |n.exit p|rintChap| |00000a70| 0d 65 6c 73 65 0d 70 75 | 74 20 69 74 20 69 6e 74 |.else.pu|t it int| |00000a80| 6f 20 78 0d 69 66 20 6e | 6f 74 20 28 66 6c 64 20 |o x.if n|ot (fld | |00000a90| 63 68 61 70 6c 69 73 74 | 20 63 6f 6e 74 61 69 6e |chaplist| contain| |00000aa0| 73 20 28 78 29 29 20 74 | 68 65 6e 0d 61 6e 73 77 |s (x)) t|hen.answ| |00000ab0| 65 72 20 22 43 61 6e d5 | 74 20 66 69 6e 64 20 63 |er "Can.|t find c| |00000ac0| 68 61 70 74 65 72 20 62 | 79 20 74 68 61 74 20 6e |hapter b|y that n| |00000ad0| 61 6d 65 21 22 0d 65 78 | 69 74 20 70 72 69 6e 74 |ame!".ex|it print| |00000ae0| 43 68 61 70 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |Chap.end| if.end | |00000af0| 69 66 0d 65 6e 64 20 69 | 66 0d 69 66 20 78 20 ad |if.end i|f.if x .| |00000b00| 20 22 21 53 21 22 20 74 | 68 65 6e 0d 61 6e 73 77 | "!S!" t|hen.answ| |00000b10| 65 72 20 22 50 72 69 6e | 74 20 61 6c 6c 20 63 6c |er "Prin|t all cl| |00000b20| 69 63 6b 61 62 6c 65 20 | 66 69 65 6c 64 73 3f 22 |ickable |fields?"| |00000b30| 20 77 69 74 68 20 22 4e | 6f 22 20 6f 72 20 22 59 | with "N|o" or "Y| |00000b40| 65 73 22 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |es".put |it into | |00000b50| 70 74 79 70 65 0d 65 6c | 73 65 0d 70 75 74 20 22 |ptype.el|se.put "| |00000b60| 59 65 73 22 20 69 6e 74 | 6f 20 70 74 79 70 65 0d |Yes" int|o ptype.| |00000b70| 65 6e 64 20 69 66 0d 67 | 6f 20 63 64 20 22 43 6f |end if.g|o cd "Co| |00000b80| 6e 74 65 6e 74 73 20 54 | 65 6d 70 6c 61 74 65 22 |ntents T|emplate"| |00000b90| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =| |00000ba0| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number| |00000bb0| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 66 6c 64 | of line|s of fld| |00000bc0| 20 63 68 61 70 6c 69 73 | 74 0d 69 66 20 6c 69 6e | chaplis|t.if lin| |00000bd0| 65 20 69 20 6f 66 20 66 | 6c 64 20 22 63 68 61 70 |e i of f|ld "chap| |00000be0| 6c 69 73 74 22 20 3d 20 | 78 20 6f 72 20 28 78 20 |list" = |x or (x | |00000bf0| 3d 20 22 21 53 21 22 29 | 20 74 68 65 6e 0d 70 75 |= "!S!")| then.pu| |00000c00| 74 20 66 6c 64 20 69 20 | 69 6e 74 6f 20 74 6f 70 |t fld i |into top| |00000c10| 6c 69 73 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |list.rep|eat with| |00000c20| 20 6a 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | j = 1 t|o the nu| |00000c30| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of| |00000c40| 20 74 6f 70 6c 69 73 74 | 0d 69 66 20 6c 61 73 74 | toplist|.if last| |00000c50| 20 63 68 61 72 20 6f 66 | 20 6c 69 6e 65 20 6a 20 | char of| line j | |00000c60| 6f 66 20 74 6f 70 6c 69 | 73 74 20 ad 20 22 c9 22 |of topli|st . "."| |00000c70| 20 74 68 65 6e 0d 67 6f | 20 63 64 20 67 65 74 63 | then.go| cd getc| |00000c80| 6e 61 6d 65 28 6c 69 6e | 65 20 6a 20 6f 66 20 74 |name(lin|e j of t| |00000c90| 6f 70 6c 69 73 74 29 0d | 70 72 69 6e 74 74 6f 70 |oplist).|printtop| |00000ca0| 20 70 74 79 70 65 0d 65 | 6e 64 20 69 66 0d 65 6e | ptype.e|nd if.en| |00000cb0| 64 20 72 65 70 65 61 74 | 0d 69 66 20 78 20 ad 20 |d repeat|.if x . | |00000cc0| 22 21 53 21 22 20 74 68 | 65 6e 20 65 78 69 74 20 |"!S!" th|en exit | |00000cd0| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 67 6f |repeat.e|nd if.go| |00000ce0| 20 63 64 20 22 43 6f 6e | 74 65 6e 74 73 20 54 65 | cd "Con|tents Te| |00000cf0| 6d 70 6c 61 74 65 22 0d | 65 6e 64 20 72 65 70 65 |mplate".|end repe| |00000d00| 61 74 0d 65 6e 64 20 70 | 72 69 6e 74 43 68 61 70 |at.end p|rintChap| |00000d10| 0d 0d 6f 6e 20 70 72 69 | 6e 74 54 4f 43 0d 67 6c |..on pri|ntTOC.gl| |00000d20| 6f 62 61 6c 20 63 64 43 | 6f 75 6e 74 0d 72 65 70 |obal cdC|ount.rep| |00000d30| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t| |00000d40| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of | |00000d50| 6c 69 6e 65 73 20 6f 66 | 20 66 6c 64 20 63 68 61 |lines of| fld cha| |00000d60| 70 6c 69 73 74 0d 73 65 | 6e 64 20 22 72 75 6e 54 |plist.se|nd "runT| |00000d70| 4f 43 22 20 26 26 20 69 | 2b 33 20 74 6f 20 74 68 |OC" && i|+3 to th| |00000d80| 69 73 20 62 67 0d 70 75 | 74 20 6c 69 6e 65 20 32 |is bg.pu|t line 2| |00000d90| 20 6f 66 20 66 6c 64 20 | 22 63 64 69 6e 66 6f 22 | of fld |"cdinfo"| |00000da0| 20 69 6e 74 6f 20 79 0d | 70 75 74 20 74 68 65 20 | into y.|put the | |00000db0| 74 65 78 74 68 65 69 67 | 68 74 20 6f 66 20 66 6c |textheig|ht of fl| |00000dc0| 64 20 69 20 69 6e 74 6f | 20 74 0d 70 75 74 20 28 |d i into| t.put (| |00000dd0| 68 65 69 67 68 74 20 6f | 66 20 66 6c 64 20 28 69 |height o|f fld (i| |00000de0| 29 29 20 64 69 76 20 74 | 20 69 6e 74 6f 20 7a 0d |)) div t| into z.| |00000df0| 70 75 74 20 28 74 68 65 | 20 6e 75 6d 62 65 72 20 |put (the| number | |00000e00| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 66 6c 64 20 |of lines| of fld | |00000e10| 28 69 29 20 64 69 76 20 | 7a 29 20 69 6e 74 6f 20 |(i) div |z) into | |00000e20| 6b 0d 69 66 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |k.if (th|e number| |00000e30| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 66 6c 64 | of line|s of fld| |00000e40| 20 28 69 29 20 6d 6f 64 | 20 7a 20 3e 20 30 29 20 | (i) mod| z > 0) | |00000e50| 74 68 65 6e 20 70 75 74 | 20 6b 2b 31 20 69 6e 74 |then put| k+1 int| |00000e60| 6f 20 6b 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |o k.repe|at with | |00000e70| 6a 20 3d 20 31 20 74 6f | 20 6b 0d 50 72 69 6e 74 |j = 1 to| k.Print| |00000e80| 4d 65 0d 69 66 20 6b 20 | 3e 20 31 20 61 6e 64 20 |Me.if k |> 1 and | |00000e90| 6a 20 3c 20 6b 20 74 68 | 65 6e 20 73 65 6e 64 20 |j < k th|en send | |00000ea0| 22 6d 6f 72 65 74 6f 70 | 20 64 6e 22 20 74 6f 20 |"moretop| dn" to | |00000eb0| 74 68 69 73 20 62 67 0d | 65 6e 64 20 72 65 70 65 |this bg.|end repe| |00000ec0| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |at.end r|epeat.en| |00000ed0| 64 20 70 72 69 6e 74 54 | 4f 43 0d 0d 6f 6e 20 70 |d printT|OC..on p| |00000ee0| 72 69 6e 74 54 6f 70 20 | 70 74 79 70 65 0d 67 6c |rintTop |ptype.gl| |00000ef0| 6f 62 61 6c 20 63 64 43 | 6f 75 6e 74 0d 69 66 20 |obal cdC|ount.if | |00000f00| 70 74 79 70 65 20 3d 20 | 22 22 20 74 68 65 6e 0d |ptype = |"" then.| |00000f10| 61 6e 73 77 65 72 20 22 | 50 72 69 6e 74 20 61 6c |answer "|Print al| |00000f20| 6c 20 63 6c 69 63 6b 61 | 62 6c 65 20 66 69 65 6c |l clicka|ble fiel| |00000f30| 64 73 3f 22 20 77 69 74 | 68 20 22 4e 6f 22 20 6f |ds?" wit|h "No" o| |00000f40| 72 20 22 59 65 73 22 0d | 70 75 74 20 69 74 20 69 |r "Yes".|put it i| |00000f50| 6e 74 6f 20 70 74 79 70 | 65 0d 65 6e 64 20 69 66 |nto ptyp|e.end if| |00000f60| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 70 75 73 |.lock sc|reen.pus| |00000f70| 68 20 63 64 0d 72 65 70 | 65 61 74 20 74 6f 70 70 |h cd.rep|eat topp| |00000f80| 6f 73 28 29 2d 31 0d 67 | 6f 20 70 72 65 76 0d 65 |os()-1.g|o prev.e| |00000f90| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 70 74 79 |nd repea|t.if pty| |00000fa0| 70 65 20 3d 20 22 59 65 | 73 22 20 74 68 65 6e 0d |pe = "Ye|s" then.| |00000fb0| 72 65 70 65 61 74 20 72 | 65 70 65 61 74 65 72 28 |repeat r|epeater(| |00000fc0| 29 0d 69 66 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |).if the| number | |00000fd0| 6f 66 20 62 74 6e 73 20 | 3e 20 31 35 20 74 68 65 |of btns |> 15 the| |00000fe0| 6e 0d 70 75 74 20 66 61 | 6c 73 65 20 69 6e 74 6f |n.put fa|lse into| |00000ff0| 20 69 73 64 6f 75 62 6c | 65 0d 69 66 20 73 68 6f | isdoubl|e.if sho| |00001000| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this | |00001010| 62 67 20 69 73 20 69 6e | 20 22 68 6f 72 69 7a 6f |bg is in| "horizo| |00001020| 6e 74 61 6c 2c 74 61 62 | 6c 65 2c 72 65 66 65 72 |ntal,tab|le,refer| |00001030| 65 6e 63 65 22 20 74 68 | 65 6e 0d 70 75 74 20 74 |ence" th|en.put t| |00001040| 72 75 65 20 69 6e 74 6f | 20 69 73 64 6f 75 62 6c |rue into| isdoubl| |00001050| 65 0d 65 6e 64 20 69 66 | 0d 72 65 70 65 61 74 20 |e.end if|.repeat | |00001060| 77 69 74 68 20 69 20 3d | 20 37 20 74 6f 20 32 32 |with i =| 7 to 22| |00001070| 0d 69 66 20 69 73 64 6f | 75 62 6c 65 20 3d 20 22 |.if isdo|uble = "| |00001080| 74 72 75 65 22 20 74 68 | 65 6e 20 70 75 74 20 28 |true" th|en put (| |00001090| 69 20 2b 20 36 31 29 20 | 69 6e 74 6f 20 63 6b 0d |i + 61) |into ck.| |000010a0| 65 6c 73 65 20 70 75 74 | 20 69 20 69 6e 74 6f 20 |else put| i into | |000010b0| 63 6b 0d 69 66 20 66 6c | 64 20 63 6b 20 ad 20 65 |ck.if fl|d ck . e| |000010c0| 6d 70 74 79 20 74 68 65 | 6e 0d 73 65 6e 64 20 28 |mpty the|n.send (| |000010d0| 22 63 6c 69 63 6b 48 4c | 22 20 26 26 20 28 69 2d |"clickHL|" && (i-| |000010e0| 36 29 29 20 74 6f 20 74 | 68 69 73 20 62 67 0d 50 |6)) to t|his bg.P| |000010f0| 72 69 6e 74 4d 65 0d 65 | 6e 64 20 69 66 0d 65 6e |rintMe.e|nd if.en| |00001100| 64 20 72 65 70 65 61 74 | 0d 65 6c 73 65 0d 70 72 |d repeat|.else.pr| |00001110| 69 6e 74 4d 65 0d 65 6e | 64 20 69 66 0d 67 6f 20 |intMe.en|d if.go | |00001120| 6e 65 78 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |next.end| repeat.| |00001130| 65 6c 73 65 0d 61 6e 73 | 77 65 72 20 22 50 72 69 |else.ans|wer "Pri| |00001140| 6e 74 69 6e 67 20 72 65 | 70 65 61 74 65 72 20 63 |nting re|peater c| |00001150| 6e 74 22 0d 70 72 69 6e | 74 20 72 65 70 65 61 74 |nt".prin|t repeat| |00001160| 65 72 28 29 20 63 61 72 | 64 73 0d 65 6e 64 20 69 |er() car|ds.end i| |00001170| 66 0d 70 6f 70 20 63 64 | 0d 75 6e 6c 6f 63 6b 20 |f.pop cd|.unlock | |00001180| 73 63 72 65 65 6e 0d 65 | 6e 64 20 70 72 69 6e 74 |screen.e|nd print| |00001190| 54 6f 70 0d 0d 6f 6e 20 | 70 72 69 6e 74 4d 65 20 |Top..on |printMe | |000011a0| 74 79 70 65 0d 70 72 69 | 6e 74 20 31 20 63 61 72 |type.pri|nt 1 car| |000011b0| 64 73 0d 65 6e 64 20 70 | 72 69 6e 74 4d 65 0d 0d |ds.end p|rintMe..| |000011c0| 6f 6e 20 61 64 64 61 72 | 74 63 6f 6d 0d 6c 6f 63 |on addar|tcom.loc| |000011d0| 6b 20 73 63 72 65 65 6e | 0d 70 75 74 20 62 67 6c |k screen|.put bgl| |000011e0| 69 73 74 28 29 20 69 6e | 74 6f 20 62 6c 69 73 74 |ist() in|to blist| |000011f0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =| |00001200| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number| |00001210| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 62 6c 69 | of line|s of bli| |00001220| 73 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 6a |st.repea|t with j| |00001230| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb| |00001240| 65 72 20 6f 66 20 63 64 | 73 20 6f 66 20 62 67 20 |er of cd|s of bg | |00001250| 28 6c 69 6e 65 20 69 20 | 6f 66 20 62 6c 69 73 74 |(line i |of blist| |00001260| 29 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |).set cu|rsor to | |00001270| 62 75 73 79 0d 67 6f 20 | 63 64 20 6a 20 6f 66 20 |busy.go |cd j of | |00001280| 62 67 20 28 6c 69 6e 65 | 20 69 20 6f 66 20 62 6c |bg (line| i of bl| |00001290| 69 73 74 29 0d 70 75 74 | 20 6c 69 6e 65 20 31 20 |ist).put| line 1 | |000012a0| 6f 66 20 66 6c 64 20 61 | 72 74 66 69 6c 65 20 69 |of fld a|rtfile i| |000012b0| 6e 74 6f 20 6c 69 6e 65 | 20 31 20 6f 66 20 66 6c |nto line| 1 of fl| |000012c0| 64 20 63 64 69 6e 66 6f | 0d 70 75 74 20 22 63 61 |d cdinfo|.put "ca| |000012d0| 72 64 20 23 22 20 26 20 | 74 68 65 20 6e 75 6d 62 |rd #" & |the numb| |000012e0| 65 72 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 6e |er of th|is cd in| |000012f0| 74 6f 20 6c 69 6e 65 20 | 32 20 6f 66 20 66 6c 64 |to line |2 of fld| |00001300| 20 63 64 69 6e 66 6f 0d | 65 6e 64 20 72 65 70 65 | cdinfo.|end repe| |00001310| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 62 65 |at.end r|epeat.be| |00001320| 65 70 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ep.unloc|k screen| |00001330| 0d 65 6e 64 20 61 64 64 | 61 72 74 63 6f 6d 0d 0d |.end add|artcom..| |00001340| 6f 6e 20 61 64 64 61 72 | 74 6e 61 6d 65 20 78 0d |on addar|tname x.| |00001350| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 61 73 6b 20 |lock scr|een.ask | |00001360| 22 50 6c 65 61 73 65 20 | 65 6e 74 65 72 20 61 20 |"Please |enter a | |00001370| 31 2d 33 20 6c 65 74 74 | 65 72 20 63 6f 64 65 20 |1-3 lett|er code | |00001380| 66 6f 72 20 74 68 69 73 | 20 73 74 61 63 6b 3a 22 |for this| stack:"| |00001390| 0d 69 66 20 69 74 20 3d | 20 22 22 20 6f 72 20 28 |.if it =| "" or (| |000013a0| 6e 75 6d 62 65 72 20 6f | 66 20 63 68 61 72 73 20 |number o|f chars | |000013b0| 6f 66 20 69 74 20 3e 20 | 33 29 20 74 68 65 6e 0d |of it > |3) then.| |000013c0| 62 65 65 70 0d 65 78 69 | 74 20 61 64 64 61 72 74 |beep.exi|t addart| |000013d0| 6e 61 6d 65 0d 65 6c 73 | 65 0d 70 75 74 20 69 74 |name.els|e.put it| |000013e0| 20 69 6e 74 6f 20 79 0d | 65 6e 64 20 69 66 0d 69 | into y.|end if.i| |000013f0| 66 20 78 20 3d 20 22 73 | 22 20 74 68 65 6e 0d 67 |f x = "s|" then.g| |00001400| 65 74 20 62 67 6c 69 73 | 74 28 29 0d 70 75 74 20 |et bglis|t().put | |00001410| 69 74 20 69 6e 74 6f 20 | 62 6c 69 73 74 0d 72 65 |it into |blist.re| |00001420| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 | |00001430| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of| |00001440| 20 6c 69 6e 65 73 20 6f | 66 20 62 6c 69 73 74 0d | lines o|f blist.| |00001450| 72 65 70 65 61 74 20 77 | 69 74 68 20 6a 20 3d 20 |repeat w|ith j = | |00001460| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number | |00001470| 6f 66 20 63 64 73 20 6f | 66 20 62 67 20 28 6c 69 |of cds o|f bg (li| |00001480| 6e 65 20 69 20 6f 66 20 | 62 6c 69 73 74 29 0d 73 |ne i of |blist).s| |00001490| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus| |000014a0| 79 0d 67 6f 20 63 64 20 | 6a 20 6f 66 20 62 67 20 |y.go cd |j of bg | |000014b0| 28 6c 69 6e 65 20 69 20 | 6f 66 20 62 6c 69 73 74 |(line i |of blist| |000014c0| 29 0d 64 6f 61 72 74 6e | 61 6d 65 20 79 0d 65 6e |).doartn|ame y.en| |000014d0| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |d repeat|.end rep| |000014e0| 65 61 74 0d 61 6e 73 77 | 65 72 20 22 55 70 64 61 |eat.answ|er "Upda| |000014f0| 74 65 20 61 72 74 20 63 | 6f 6d 6d 65 6e 74 73 20 |te art c|omments | |00001500| 66 69 65 6c 64 3f 22 20 | 77 69 74 68 20 22 43 61 |field?" |with "Ca| |00001510| 6e 63 65 6c 22 20 6f 72 | 20 22 4f 4b 22 0d 69 66 |ncel" or| "OK".if| |00001520| 20 69 74 20 3d 20 22 4f | 4b 22 20 74 68 65 6e 0d | it = "O|K" then.| |00001530| 61 64 64 61 72 74 63 6f | 6d 0d 65 6e 64 20 69 66 |addartco|m.end if| |00001540| 0d 65 6c 73 65 0d 69 66 | 20 62 67 6c 69 73 74 28 |.else.if| bglist(| |00001550| 29 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 73 |) contai|ns the s| |00001560| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi| |00001570| 73 20 62 67 20 74 68 65 | 6e 20 64 6f 61 72 74 6e |s bg the|n doartn| |00001580| 61 6d 65 20 79 0d 65 6e | 64 20 69 66 0d 62 65 65 |ame y.en|d if.bee| |00001590| 70 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |p.unlock| screen.| |000015a0| 65 6e 64 20 61 64 64 61 | 72 74 6e 61 6d 65 0d 0d |end adda|rtname..| |000015b0| 6f 6e 20 64 6f 61 72 74 | 6e 61 6d 65 20 79 0d 69 |on doart|name y.i| |000015c0| 66 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |f the na|me of th| |000015d0| 69 73 20 63 64 20 ad 20 | 28 74 68 65 20 73 68 6f |is cd . |(the sho| |000015e0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this | |000015f0| 62 67 20 26 26 20 22 54 | 65 6d 70 6c 61 74 65 22 |bg && "T|emplate"| |00001600| 29 20 74 68 65 6e 0d 70 | 75 74 20 72 65 74 75 72 |) then.p|ut retur| |00001610| 6e 20 26 20 22 4f 6c 64 | 20 66 69 6c 65 6e 61 6d |n & "Old| filenam| |00001620| 65 3a 22 20 26 26 20 66 | 6c 64 20 61 72 74 66 69 |e:" && f|ld artfi| |00001630| 6c 65 20 61 66 74 65 72 | 20 66 6c 64 20 61 72 74 |le after| fld art| |00001640| 69 6e 66 6f 0d 70 75 74 | 20 79 20 26 20 74 68 65 |info.put| y & the| |00001650| 20 73 68 6f 72 74 20 69 | 64 20 6f 66 20 74 68 69 | short i|d of thi| |00001660| 73 20 63 64 20 69 6e 74 | 6f 20 66 6c 64 20 61 72 |s cd int|o fld ar| |00001670| 74 66 69 6c 65 0d 65 6c | 73 65 0d 70 75 74 20 22 |tfile.el|se.put "| |00001680| 22 20 69 6e 74 6f 20 66 | 6c 64 20 61 72 74 66 69 |" into f|ld artfi| |00001690| 6c 65 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 64 6f |le.end i|f.end do| |000016a0| 61 72 74 6e 61 6d 65 0d | 0d 0d 2d 2d 6f 6e 20 64 |artname.|..--on d| |000016b0| 6f 4d 65 6e 75 20 78 0d | 67 6c 6f 62 61 6c 20 73 |oMenu x.|global s| |000016c0| 65 63 75 72 69 74 79 0d | 69 66 20 73 65 63 75 72 |ecurity.|if secur| |000016d0| 69 74 79 20 3d 20 22 4f | 4b 22 20 74 68 65 6e 0d |ity = "O|K" then.| |000016e0| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 73 65 63 75 |put "" i|nto secu| |000016f0| 72 69 74 79 0d 70 61 73 | 73 20 64 6f 4d 65 6e 75 |rity.pas|s doMenu| |00001700| 0d 65 6c 73 65 0d 69 66 | 20 28 77 6f 72 64 20 32 |.else.if| (word 2| |00001710| 20 6f 66 20 78 20 3d 20 | 22 43 61 72 64 22 20 61 | of x = |"Card" a| |00001720| 6e 64 20 77 6f 72 64 20 | 31 20 6f 66 20 78 20 ad |nd word |1 of x .| |00001730| 20 22 50 72 69 6e 74 22 | 29 20 6f 72 20 77 6f 72 | "Print"|) or wor| |00001740| 64 20 c2 0d 31 20 6f 66 | 20 78 20 3d 20 22 44 65 |d ..1 of| x = "De| |00001750| 6c 65 74 65 22 20 6f 72 | 20 77 6f 72 64 20 31 20 |lete" or| word 1 | |00001760| 6f 66 20 78 20 3d 20 22 | 4e 65 77 22 20 74 68 65 |of x = "|New" the| |00001770| 6e 0d 62 65 65 70 0d 69 | 66 20 78 20 3d 20 22 44 |n.beep.i|f x = "D| |00001780| 65 6c 65 74 65 20 53 74 | 61 63 6b 2e 2e 2e 22 20 |elete St|ack..." | |00001790| 6f 72 20 77 6f 72 64 20 | 31 20 6f 66 20 78 20 3d |or word |1 of x =| |000017a0| 20 22 4e 65 77 22 20 74 | 68 65 6e 0d 61 6e 73 77 | "New" t|hen.answ| |000017b0| 65 72 20 22 53 6f 72 72 | 79 2c 20 79 6f 75 d5 72 |er "Sorr|y, you.r| |000017c0| 65 20 6e 6f 74 20 61 6c | 6c 6f 77 65 64 20 74 6f |e not al|lowed to| |000017d0| 20 64 6f 20 74 68 61 74 | 2e 22 0d 65 6c 73 65 0d | do that|.".else.| |000017e0| 61 6e 73 77 65 72 20 22 | 50 6c 65 61 73 65 20 75 |answer "|Please u| |000017f0| 73 65 20 74 68 65 20 62 | 75 74 74 6f 6e 73 20 74 |se the b|uttons t| |00001800| 6f 20 64 6f 20 74 68 61 | 74 2e 22 0d 65 6e 64 20 |o do tha|t.".end | |00001810| 69 66 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 73 |if.put "|" into s| |00001820| 65 63 75 72 69 74 79 0d | 65 6c 73 65 0d 70 75 74 |ecurity.|else.put| |00001830| 20 22 22 20 69 6e 74 6f | 20 73 65 63 75 72 69 74 | "" into| securit| |00001840| 79 0d 70 61 73 73 20 64 | 6f 4d 65 6e 75 0d 65 6e |y.pass d|oMenu.en| |00001850| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end | |00001860| 64 6f 4d 65 6e 75 0d 0d | 6f 6e 20 63 68 6f 6f 73 |doMenu..|on choos| |00001870| 65 20 74 2c 78 0d 67 6c | 6f 62 61 6c 20 73 65 63 |e t,x.gl|obal sec| |00001880| 75 72 69 74 79 0d 69 66 | 20 78 20 3d 20 22 32 22 |urity.if| x = "2"| |00001890| 20 6f 72 20 78 20 3d 20 | 22 33 22 20 74 68 65 6e | or x = |"3" then| |000018a0| 0d 69 66 20 73 65 63 75 | 72 69 74 79 20 3d 20 22 |.if secu|rity = "| |000018b0| 4f 4b 22 20 74 68 65 6e | 0d 70 61 73 73 20 63 68 |OK" then|.pass ch| |000018c0| 6f 6f 73 65 0d 65 6c 73 | 65 0d 62 65 65 70 0d 65 |oose.els|e.beep.e| |000018d0| 6e 64 20 69 66 0d 70 75 | 74 20 22 22 20 69 6e 74 |nd if.pu|t "" int| |000018e0| 6f 20 73 65 63 75 72 69 | 74 79 0d 65 6c 73 65 0d |o securi|ty.else.| |000018f0| 70 61 73 73 20 63 68 6f | 6f 73 65 0d 65 6e 64 20 |pass cho|ose.end | |00001900| 69 66 0d 65 6e 64 20 63 | 68 6f 6f 73 65 0d 0d 6f |if.end c|hoose..o| |00001910| 6e 20 64 6f 42 41 72 74 | 0d 61 6e 73 77 65 72 20 |n doBArt|.answer | |00001920| 22 49 6d 70 6f 72 74 20 | 6f 72 20 65 78 70 6f 72 |"Import |or expor| |00001930| 74 20 74 68 69 73 20 63 | 61 72 64 d5 73 20 61 72 |t this c|ard.s ar| |00001940| 74 3f 22 20 77 69 74 68 | 20 22 43 61 6e 63 65 6c |t?" with| "Cancel| |00001950| 22 c2 0d 6f 72 20 22 45 | 78 70 6f 72 74 22 20 6f |"..or "E|xport" o| |00001960| 72 20 22 49 6d 70 6f 72 | 74 22 0d 69 66 20 69 74 |r "Impor|t".if it| |00001970| 20 3d 20 22 49 6d 70 6f | 72 74 22 20 74 68 65 6e | = "Impo|rt" then| |00001980| 0d 69 6d 70 6f 72 74 41 | 72 74 0d 65 6c 73 65 0d |.importA|rt.else.| |00001990| 69 66 20 69 74 20 3d 20 | 22 45 78 70 6f 72 74 22 |if it = |"Export"| |000019a0| 20 74 68 65 6e 0d 65 78 | 70 6f 72 74 41 72 74 20 | then.ex|portArt | |000019b0| 22 63 61 72 64 22 0d 65 | 6e 64 20 69 66 0d 65 6e |"card".e|nd if.en| |000019c0| 64 20 69 66 0d 65 6e 64 | 20 64 6f 42 41 72 74 0d |d if.end| doBArt.| |000019d0| 0d 6f 6e 20 69 6d 70 6f | 72 74 41 72 74 20 78 0d |.on impo|rtArt x.| |000019e0| 69 66 20 63 68 61 72 20 | 31 20 74 6f 20 35 20 6f |if char |1 to 5 o| |000019f0| 66 20 78 20 69 73 20 22 | 53 74 61 63 6b 22 20 74 |f x is "|Stack" t| |00001a00| 68 65 6e 0d 70 75 73 68 | 20 63 64 0d 70 75 74 20 |hen.push| cd.put | |00001a10| 63 68 61 72 20 36 20 6f | 66 20 78 20 69 6e 74 6f |char 6 o|f x into| |00001a20| 20 73 61 66 65 74 79 0d | 70 75 74 20 62 67 6c 69 | safety.|put bgli| |00001a30| 73 74 28 29 20 69 6e 74 | 6f 20 62 6c 69 73 74 0d |st() int|o blist.| |00001a40| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 66 6c 61 67 |put "" i|nto flag| |00001a50| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 6a 20 3d |.repeat |with j =| |00001a60| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number| |00001a70| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 62 6c 69 | of line|s of bli| |00001a80| 73 74 0d 69 66 20 66 6c | 61 67 20 3d 20 22 2a 22 |st.if fl|ag = "*"| |00001a90| 20 74 68 65 6e 20 65 78 | 69 74 20 72 65 70 65 61 | then ex|it repea| |00001aa0| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |t.repeat| with i | |00001ab0| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe| |00001ac0| 72 20 6f 66 20 63 64 73 | 20 6f 66 20 62 67 20 28 |r of cds| of bg (| |00001ad0| 6c 69 6e 65 20 6a 20 6f | 66 20 62 6c 69 73 74 29 |line j o|f blist)| |00001ae0| 0d 67 6f 20 63 64 20 69 | 20 6f 66 20 62 67 20 28 |.go cd i| of bg (| |00001af0| 6c 69 6e 65 20 6a 20 6f | 66 20 62 6c 69 73 74 29 |line j o|f blist)| |00001b00| 0d 67 65 74 61 72 74 20 | 73 61 66 65 74 79 0d 69 |.getart |safety.i| |00001b10| 66 20 73 61 66 65 74 79 | 20 ad 20 22 21 22 20 74 |f safety| . "!" t| |00001b20| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 43 6f 6e 74 |hen.answ|er "Cont| |00001b30| 69 6e 75 65 20 69 6e 73 | 74 61 6c 6c 69 6e 67 20 |inue ins|talling | |00001b40| 61 72 74 3f 22 20 77 69 | 74 68 20 22 43 61 6e 63 |art?" wi|th "Canc| |00001b50| 65 6c 22 20 6f 72 20 22 | 4f 4b 22 0d 69 66 20 69 |el" or "|OK".if i| |00001b60| 74 20 3d 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 |t = "Can|cel" the| |00001b70| 6e 0d 70 75 74 20 22 2a | 22 20 69 6e 74 6f 20 66 |n.put "*|" into f| |00001b80| 6c 61 67 0d 65 78 69 74 | 20 72 65 70 65 61 74 0d |lag.exit| repeat.| |00001b90| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en| |00001ba0| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |d repeat|.end rep| |00001bb0| 65 61 74 0d 70 6f 70 20 | 63 64 0d 63 68 6f 6f 73 |eat.pop |cd.choos| |00001bc0| 65 20 62 72 6f 77 73 65 | 20 74 6f 6f 6c 0d 65 6c |e browse| tool.el| |00001bd0| 73 65 0d 70 75 74 20 78 | 20 69 6e 74 6f 20 73 61 |se.put x| into sa| |00001be0| 66 65 74 79 0d 67 65 74 | 61 72 74 20 73 61 66 65 |fety.get|art safe| |00001bf0| 74 79 0d 73 68 6f 77 20 | 74 6f 6f 6c 20 77 69 6e |ty.show |tool win| |00001c00| 64 6f 77 0d 65 6e 64 20 | 69 66 0d 69 66 20 73 61 |dow.end |if.if sa| |00001c10| 66 65 74 79 20 3d 20 22 | 21 22 20 74 68 65 6e 0d |fety = "|!" then.| |00001c20| 68 69 64 65 20 74 6f 6f | 6c 20 77 69 6e 64 6f 77 |hide too|l window| |00001c30| 0d 63 68 6f 6f 73 65 20 | 62 72 6f 77 73 65 20 74 |.choose |browse t| |00001c40| 6f 6f 6c 0d 65 6e 64 20 | 69 66 0d 68 69 64 65 20 |ool.end |if.hide | |00001c50| 6d 73 67 0d 65 6e 64 20 | 69 6d 70 6f 72 74 41 72 |msg.end |importAr| |00001c60| 74 0d 0d 6f 6e 20 67 65 | 74 61 72 74 20 73 61 66 |t..on ge|tart saf| |00001c70| 65 74 79 0d 70 75 74 20 | 67 65 74 61 72 74 66 69 |ety.put |getartfi| |00001c80| 6c 65 28 29 20 69 6e 74 | 6f 20 79 0d 69 66 20 79 |le() int|o y.if y| |00001c90| 20 ad 20 22 2a 2a 2a 22 | 20 74 68 65 6e 0d 69 66 | . "***"| then.if| |00001ca0| 20 73 61 66 65 74 79 20 | ad 20 22 21 22 20 74 68 | safety |. "!" th| |00001cb0| 65 6e 0d 61 6e 73 77 65 | 72 20 22 49 6d 70 6f 72 |en.answe|r "Impor| |00001cc0| 74 20 50 4e 54 47 20 6f | 72 20 50 49 43 54 20 66 |t PNTG o|r PICT f| |00001cd0| 69 6c 65 3f 22 20 77 69 | 74 68 20 22 50 4e 54 47 |ile?" wi|th "PNTG| |00001ce0| 22 20 6f 72 20 22 50 49 | 43 54 22 0d 65 6c 73 65 |" or "PI|CT".else| |00001cf0| 0d 70 75 74 20 22 50 49 | 43 54 22 20 69 6e 74 6f |.put "PI|CT" into| |00001d00| 20 69 74 0d 65 6e 64 20 | 69 66 0d 69 66 20 69 74 | it.end |if.if it| |00001d10| 20 3d 20 22 50 49 43 54 | 22 20 74 68 65 6e 0d 69 | = "PICT|" then.i| |00001d20| 66 20 79 20 3d 20 22 22 | 20 74 68 65 6e 0d 70 75 |f y = ""| then.pu| |00001d30| 74 20 22 4e 6f 20 61 72 | 74 20 73 70 65 63 69 66 |t "No ar|t specif| |00001d40| 69 65 64 20 66 6f 72 20 | d2 22 20 26 20 74 68 65 |ied for |." & the| |00001d50| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t| |00001d60| 68 69 73 20 63 64 20 26 | 20 c2 0d 22 d3 2c 20 63 |his cd &| .."., c| |00001d70| 61 72 64 22 20 26 26 20 | 74 6f 70 70 6f 73 28 29 |ard" && |toppos()| |00001d80| 0d 67 65 74 20 66 69 6c | 65 6e 61 6d 65 28 22 50 |.get fil|ename("P| |00001d90| 49 43 54 22 2c 22 50 6c | 65 61 73 65 20 63 68 6f |ICT","Pl|ease cho| |00001da0| 6f 73 65 20 61 20 50 49 | 43 54 20 66 69 6c 65 2e |ose a PI|CT file.| |00001db0| 22 29 0d 69 66 20 69 74 | 20 ad 20 22 22 20 74 68 |").if it| . "" th| |00001dc0| 65 6e 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 79 |en.put i|t into y| |00001dd0| 0d 65 6c 73 65 0d 65 78 | 69 74 20 67 65 74 61 72 |.else.ex|it getar| |00001de0| 74 0d 65 6e 64 20 69 66 | 0d 68 69 64 65 20 6d 73 |t.end if|.hide ms| |00001df0| 67 0d 65 6e 64 20 69 66 | 0d 63 68 6f 6f 73 65 20 |g.end if|.choose | |00001e00| 4c 61 73 73 6f 20 54 6f | 6f 6c 0d 64 6f 4d 65 6e |Lasso To|ol.doMen| |00001e10| 75 20 22 53 65 6c 65 63 | 74 22 0d 69 66 20 74 68 |u "Selec|t".if th| |00001e20| 65 20 74 6f 6f 6c 20 3d | 20 22 4c 61 73 73 6f 20 |e tool =| "Lasso | |00001e30| 54 6f 6f 6c 22 20 74 68 | 65 6e 0d 70 75 74 20 22 |Tool" th|en.put "| |00001e40| 21 22 20 69 6e 74 6f 20 | 63 73 74 61 74 0d 64 6f |!" into |cstat.do| |00001e50| 4d 65 6e 75 20 22 43 75 | 74 20 50 69 63 74 75 72 |Menu "Cu|t Pictur| |00001e60| 65 22 0d 65 6c 73 65 0d | 70 75 74 20 22 22 20 69 |e".else.|put "" i| |00001e70| 6e 74 6f 20 63 73 74 61 | 74 0d 65 6e 64 20 69 66 |nto csta|t.end if| |00001e80| 0d 50 49 43 54 46 69 6c | 65 54 6f 43 6c 69 70 20 |.PICTFil|eToClip | |00001e90| 28 79 29 0d 69 66 20 77 | 6f 72 64 20 31 20 6f 66 |(y).if w|ord 1 of| |00001ea0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 3d 20 22 45 | the res|ult = "E| |00001eb0| 72 72 6f 72 22 20 74 68 | 65 6e 0d 61 6e 73 77 65 |rror" th|en.answe| |00001ec0| 72 20 74 68 65 20 72 65 | 73 75 6c 74 0d 69 66 20 |r the re|sult.if | |00001ed0| 63 73 74 61 74 20 3d 20 | 22 21 22 20 74 68 65 6e |cstat = |"!" then| |00001ee0| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 63 73 74 |.put "" |into cst| |00001ef0| 61 74 0d 64 6f 4d 65 6e | 75 20 22 50 61 73 74 65 |at.doMen|u "Paste| |00001f00| 20 50 69 63 74 75 72 65 | 22 0d 65 6e 64 20 69 66 | Picture|".end if| |00001f10| 0d 65 78 69 74 20 67 65 | 74 61 72 74 0d 65 6c 73 |.exit ge|tart.els| |00001f20| 65 0d 64 6f 4d 65 6e 75 | 20 22 50 61 73 74 65 20 |e.doMenu| "Paste | |00001f30| 50 69 63 74 75 72 65 22 | 0d 65 6e 64 20 69 66 0d |Picture"|.end if.| |00001f40| 65 6c 73 65 0d 69 66 20 | 79 20 ad 20 22 22 20 74 |else.if |y . "" t| |00001f50| 68 65 6e 0d 70 75 74 20 | 22 50 6c 65 61 73 65 20 |hen.put |"Please | |00001f60| 66 69 6e 64 22 20 26 26 | 20 22 d2 22 20 26 20 79 |find" &&| "." & y| |00001f70| 20 26 20 22 d3 22 0d 65 | 6c 73 65 0d 70 75 74 20 | & ".".e|lse.put | |00001f80| 22 4e 6f 20 66 69 6c 65 | 20 73 70 65 63 69 66 69 |"No file| specifi| |00001f90| 65 64 2e 2e 2e 22 0d 65 | 6e 64 20 69 66 0d 63 68 |ed...".e|nd if.ch| |00001fa0| 6f 6f 73 65 20 6c 61 73 | 73 6f 20 74 6f 6f 6c 0d |oose las|so tool.| |00001fb0| 64 6f 4d 65 6e 75 20 22 | 49 6d 70 6f 72 74 20 50 |doMenu "|Import P| |00001fc0| 61 69 6e 74 2e 2e 2e 22 | 0d 63 68 6f 6f 73 65 20 |aint..."|.choose | |00001fd0| 6c 61 73 73 6f 20 74 6f | 6f 6c 0d 64 6f 4d 65 6e |lasso to|ol.doMen| |00001fe0| 75 20 22 53 65 6c 65 63 | 74 22 0d 65 6e 64 20 69 |u "Selec|t".end i| |00001ff0| 66 0d 63 68 6f 6f 73 65 | 20 6c 61 73 73 6f 20 74 |f.choose| lasso t| |00002000| 6f 6f 6c 0d 64 6f 4d 65 | 6e 75 20 22 53 65 6c 65 |ool.doMe|nu "Sele| |00002010| 63 74 22 0d 65 6c 73 65 | 0d 69 66 20 73 61 66 65 |ct".else|.if safe| |00002020| 74 79 20 ad 20 22 21 22 | 20 74 68 65 6e 0d 61 6e |ty . "!"| then.an| |00002030| 73 77 65 72 20 22 43 61 | 6e d5 74 20 69 6e 73 74 |swer "Ca|n.t inst| |00002040| 61 6c 6c 20 61 72 74 20 | 6f 6e 20 74 68 69 73 20 |all art |on this | |00002050| 63 61 72 64 21 22 0d 65 | 6e 64 20 69 66 0d 65 6e |card!".e|nd if.en| |00002060| 64 20 69 66 0d 65 6e 64 | 20 67 65 74 61 72 74 0d |d if.end| getart.| |00002070| 0d 6f 6e 20 65 78 70 6f | 72 74 41 72 74 20 74 79 |.on expo|rtArt ty| |00002080| 70 65 0d 69 66 20 74 79 | 70 65 20 3d 20 22 73 74 |pe.if ty|pe = "st| |00002090| 61 63 6b 22 20 74 68 65 | 6e 0d 70 75 73 68 20 63 |ack" the|n.push c| |000020a0| 64 0d 70 75 74 20 62 67 | 6c 69 73 74 28 29 20 69 |d.put bg|list() i| |000020b0| 6e 74 6f 20 62 6c 69 73 | 74 0d 72 65 70 65 61 74 |nto blis|t.repeat| |000020c0| 20 77 69 74 68 20 69 20 | 3d 20 33 20 74 6f 20 28 | with i |= 3 to (| |000020d0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 64 |the numb|er of cd| |000020e0| 73 20 2d 20 31 29 0d 67 | 6f 20 63 64 20 69 0d 69 |s - 1).g|o cd i.i| |000020f0| 66 20 62 6c 69 73 74 20 | 63 6f 6e 74 61 69 6e 73 |f blist |contains| |00002100| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name | |00002110| 6f 66 20 74 68 69 73 20 | 62 67 20 74 68 65 6e 20 |of this |bg then | |00002120| 64 6f 61 72 74 65 78 70 | 0d 65 6e 64 20 72 65 70 |doartexp|.end rep| |00002130| 65 61 74 0d 70 6f 70 20 | 63 64 0d 65 6c 73 65 0d |eat.pop |cd.else.| |00002140| 64 6f 61 72 74 65 78 70 | 0d 65 6e 64 20 69 66 0d |doartexp|.end if.| |00002150| 65 6e 64 20 65 78 70 6f | 72 74 41 72 74 0d 0d 6f |end expo|rtArt..o| |00002160| 6e 20 64 6f 61 72 74 65 | 78 70 0d 70 75 74 20 74 |n doarte|xp.put t| |00002170| 68 65 20 73 68 6f 77 70 | 69 63 74 20 6f 66 20 74 |he showp|ict of t| |00002180| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 63 73 70 0d |his cd i|nto csp.| |00002190| 73 65 74 20 74 68 65 20 | 73 68 6f 77 50 49 43 54 |set the |showPICT| |000021a0| 20 6f 66 20 74 68 69 73 | 20 63 64 20 74 6f 20 74 | of this| cd to t| |000021b0| 72 75 65 0d 70 75 74 20 | 67 65 74 61 72 74 66 69 |rue.put |getartfi| |000021c0| 6c 65 28 29 20 69 6e 74 | 6f 20 79 0d 72 65 70 65 |le() int|o y.repe| |000021d0| 61 74 20 66 6f 72 65 76 | 65 72 0d 69 66 20 79 20 |at forev|er.if y | |000021e0| ad 20 22 22 20 74 68 65 | 6e 0d 63 68 6f 6f 73 65 |. "" the|n.choose| |000021f0| 20 6c 61 73 73 6f 20 74 | 6f 6f 6c 0d 64 6f 4d 65 | lasso t|ool.doMe| |00002200| 6e 75 20 22 53 65 6c 65 | 63 74 22 0d 69 66 20 74 |nu "Sele|ct".if t| |00002210| 68 65 20 74 6f 6f 6c 20 | 3d 20 22 4c 61 73 73 6f |he tool |= "Lasso| |00002220| 20 54 6f 6f 6c 22 20 74 | 68 65 6e 0d 64 6f 4d 65 | Tool" t|hen.doMe| |00002230| 6e 75 20 22 43 6f 70 79 | 20 50 69 63 74 75 72 65 |nu "Copy| Picture| |00002240| 22 0d 63 6c 69 70 74 6f | 50 49 43 54 66 69 6c 65 |".clipto|PICTfile| |00002250| 20 79 0d 69 66 20 77 6f | 72 64 20 31 20 6f 66 20 | y.if wo|rd 1 of | |00002260| 74 68 65 20 72 65 73 75 | 6c 74 20 3d 20 22 45 72 |the resu|lt = "Er| |00002270| 72 6f 72 22 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |ror" the|n.answer| |00002280| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 70 75 74 20 | the res|ult.put | |00002290| 22 22 20 69 6e 74 6f 20 | 79 0d 65 6c 73 65 0d 65 |"" into |y.else.e| |000022a0| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |xit repe|at.end i| |000022b0| 66 0d 65 6c 73 65 0d 65 | 78 69 74 20 72 65 70 65 |f.else.e|xit repe| |000022c0| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |at.end i|f.end if| |000022d0| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 6e |.put the| short n| |000022e0| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 64 |umber of| this cd| |000022f0| 20 2b 20 31 33 20 69 6e | 74 6f 20 62 62 62 0d 72 | + 13 in|to bbb.r| |00002300| 65 70 65 61 74 20 77 68 | 69 6c 65 20 6c 65 6e 67 |epeat wh|ile leng| |00002310| 74 68 28 62 62 62 29 20 | 3c 20 33 0d 70 75 74 20 |th(bbb) |< 3.put | |00002320| 22 30 22 20 62 65 66 6f | 72 65 20 62 62 62 0d 65 |"0" befo|re bbb.e| |00002330| 6e 64 20 72 65 70 65 61 | 74 0d 70 75 74 20 22 42 |nd repea|t.put "B| |00002340| 22 20 62 65 66 6f 72 65 | 20 62 62 62 0d 61 73 6b |" before| bbb.ask| |00002350| 20 22 50 6c 65 61 73 65 | 20 6e 61 6d 65 20 74 68 | "Please| name th| |00002360| 65 20 61 72 74 20 66 69 | 6c 65 3a 22 20 77 69 74 |e art fi|le:" wit| |00002370| 68 20 62 62 62 20 26 26 | 20 74 68 65 20 73 68 6f |h bbb &&| the sho| |00002380| 72 74 20 6e 61 6d 65 c2 | 0d 6f 66 20 74 68 69 73 |rt name.|.of this| |00002390| 20 63 64 0d 69 66 20 69 | 74 20 ad 20 22 22 20 74 | cd.if i|t . "" t| |000023a0| 68 65 6e 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |hen.put |it into | |000023b0| 79 0d 65 6c 73 65 0d 65 | 78 69 74 20 72 65 70 65 |y.else.e|xit repe| |000023c0| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |at.end i|f.end re| |000023d0| 70 65 61 74 0d 67 65 74 | 20 62 67 6c 69 73 74 28 |peat.get| bglist(| |000023e0| 29 0d 69 66 20 69 74 20 | 63 6f 6e 74 61 69 6e 73 |).if it |contains| |000023f0| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name | |00002400| 6f 66 20 74 68 69 73 20 | 62 67 20 61 6e 64 20 79 |of this |bg and y| |00002410| 20 ad 20 22 22 20 74 68 | 65 6e 0d 70 75 74 20 79 | . "" th|en.put y| |00002420| 20 69 6e 74 6f 20 66 6c | 64 20 22 61 72 74 46 69 | into fl|d "artFi| |00002430| 6c 65 22 0d 65 6e 64 20 | 69 66 0d 63 68 6f 6f 73 |le".end |if.choos| |00002440| 65 20 74 6f 6f 6c 20 31 | 0d 73 65 74 20 74 68 65 |e tool 1|.set the| |00002450| 20 73 68 6f 77 70 69 63 | 74 20 6f 66 20 74 68 69 | showpic|t of thi| |00002460| 73 20 63 64 20 74 6f 20 | 63 73 70 0d 65 6e 64 20 |s cd to |csp.end | |00002470| 64 6f 61 72 74 65 78 70 | 0d 0d 6f 6e 20 73 68 6f |doartexp|..on sho| |00002480| 77 63 6f 6e 74 20 78 0d | 6e 6f 74 64 6f 6e 65 0d |wcont x.|notdone.| |00002490| 65 78 69 74 20 73 68 6f | 77 63 6f 6e 74 0d 2d 2d |exit sho|wcont.--| |000024a0| 74 68 69 73 20 63 6f 6d | 6d 61 6e 64 20 77 69 6c |this com|mand wil| |000024b0| 6c 20 68 69 64 65 20 61 | 6c 6c 20 6f 66 20 74 68 |l hide a|ll of th| |000024c0| 65 20 63 6f 6e 74 72 6f | 6c 20 62 75 74 74 6f 6e |e contro|l button| |000024d0| 73 20 61 6e 64 20 66 69 | 65 6c 64 73 0d 2d 2d 69 |s and fi|elds.--i| |000024e0| 6e 20 74 68 65 20 73 74 | 61 63 6b 2e 20 20 49 74 |n the st|ack. It| |000024f0| 20 77 69 6c 6c 20 73 65 | 74 20 61 6c 6c 20 63 61 | will se|t all ca| |00002500| 72 64 73 20 74 6f 20 73 | 68 6f 77 20 61 72 74 2e |rds to s|how art.| |00002510| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =| |00002520| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number| |00002530| 20 6f 66 20 62 67 0d 67 | 6f 20 62 67 20 69 0d 69 | of bg.g|o bg i.i| |00002540| 66 20 78 20 3d 20 22 66 | 61 6c 73 65 22 20 74 68 |f x = "f|alse" th| |00002550| 65 6e 0d 73 65 6e 64 20 | 6d 6f 75 73 65 75 70 20 |en.send |mouseup | |00002560| 74 6f 20 62 67 20 62 74 | 6e 20 22 53 68 6f 77 20 |to bg bt|n "Show | |00002570| 61 72 74 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |art".end| if.end | |00002580| 72 65 70 65 61 74 0d 65 | 6e 64 20 73 68 6f 77 63 |repeat.e|nd showc| |00002590| 6f 6e 74 0d 0d 6f 6e 20 | 63 6f 6e 74 69 6e 75 65 |ont..on |continue| |000025a0| 20 78 0d 61 73 6b 20 22 | 41 64 64 20 68 6f 77 20 | x.ask "|Add how | |000025b0| 6d 61 6e 79 20 63 61 72 | 64 73 20 74 6f 20 74 68 |many car|ds to th| |000025c0| 69 73 20 74 6f 70 69 63 | 3f 22 20 77 69 74 68 20 |is topic|?" with | |000025d0| 22 31 22 0d 69 66 20 69 | 74 20 3e 20 30 20 61 6e |"1".if i|t > 0 an| |000025e0| 64 20 69 74 20 3c 20 33 | 30 20 74 68 65 6e 0d 70 |d it < 3|0 then.p| |000025f0| 75 74 20 69 74 20 69 6e | 74 6f 20 72 0d 6c 6f 63 |ut it in|to r.loc| |00002600| 6b 20 73 63 72 65 65 6e | 0d 72 65 70 65 61 74 20 |k screen|.repeat | |00002610| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 72 0d |with i =| 1 to r.| |00002620| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu| |00002630| 73 79 0d 6e 65 77 63 64 | 20 28 6c 69 6e 65 20 31 |sy.newcd| (line 1| |00002640| 20 6f 66 20 66 6c 64 20 | 22 53 65 63 74 69 6f 6e | of fld |"Section| |00002650| 22 29 0d 69 66 20 69 20 | 3d 20 31 20 74 68 65 6e |").if i |= 1 then| |00002660| 20 70 75 73 68 20 63 64 | 0d 65 6e 64 20 72 65 70 | push cd|.end rep| |00002670| 65 61 74 0d 70 75 74 20 | 72 65 70 65 61 74 65 72 |eat.put |repeater| |00002680| 28 29 20 2b 20 72 20 69 | 6e 74 6f 20 6e 65 77 6e |() + r i|nto newn| |00002690| 75 6d 0d 69 66 20 6e 65 | 77 6e 75 6d 20 3d 20 31 |um.if ne|wnum = 1| |000026a0| 20 74 68 65 6e 20 70 75 | 74 20 32 20 69 6e 74 6f | then pu|t 2 into| |000026b0| 20 6e 65 77 6e 75 6d 0d | 70 75 74 20 28 74 6f 70 | newnum.|put (top| |000026c0| 70 6f 73 28 29 2b 72 2d | 31 29 20 69 6e 74 6f 20 |pos()+r-|1) into | |000026d0| 63 75 72 6e 75 6d 0d 72 | 65 70 65 61 74 20 63 75 |curnum.r|epeat cu| |000026e0| 72 6e 75 6d 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |rnum.set| cursor | |000026f0| 74 6f 20 62 75 73 79 0d | 67 6f 20 70 72 65 76 0d |to busy.|go prev.| |00002700| 65 6e 64 20 72 65 70 65 | 61 74 0d 72 65 70 65 61 |end repe|at.repea| |00002710| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to | |00002720| 6e 65 77 6e 75 6d 0d 73 | 65 74 20 63 75 72 73 6f |newnum.s|et curso| |00002730| 72 20 74 6f 20 62 75 73 | 79 0d 70 75 74 20 63 6f |r to bus|y.put co| |00002740| 6e 74 74 65 78 74 28 69 | 2c 6e 65 77 6e 75 6d 29 |nttext(i|,newnum)| |00002750| 20 69 6e 74 6f 20 66 6c | 64 20 22 43 6f 6e 74 69 | into fl|d "Conti| |00002760| 6e 75 65 64 22 0d 67 6f | 20 6e 65 78 74 0d 65 6e |nued".go| next.en| |00002770| 64 20 72 65 70 65 61 74 | 0d 70 6f 70 20 63 64 0d |d repeat|.pop cd.| |00002780| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 31 0d |set curs|or to 1.| |00002790| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 20 77 69 |unlock s|creen wi| |000027a0| 74 68 20 73 63 72 6f 6c | 6c 20 6c 65 66 74 0d 65 |th scrol|l left.e| |000027b0| 6e 64 20 69 66 0d 65 6e | 64 20 63 6f 6e 74 69 6e |nd if.en|d contin| |000027c0| 75 65 0d 0d 6f 6e 20 6e | 65 77 63 64 0d 67 6c 6f |ue..on n|ewcd.glo| |000027d0| 62 61 6c 20 73 65 63 75 | 72 69 74 79 0d 70 75 74 |bal secu|rity.put| |000027e0| 20 22 4f 4b 22 20 69 6e | 74 6f 20 73 65 63 75 72 | "OK" in|to secur| |000027f0| 69 74 79 0d 64 6f 4d 65 | 6e 75 20 22 4e 65 77 20 |ity.doMe|nu "New | |00002800| 43 61 72 64 22 0d 70 75 | 74 20 74 68 65 20 6e 75 |Card".pu|t the nu| |00002810| 6d 62 65 72 20 6f 66 20 | 74 68 69 73 20 63 64 20 |mber of |this cd | |00002820| 69 6e 74 6f 20 6e 63 6e | 0d 70 75 74 20 66 6c 64 |into ncn|.put fld| |00002830| 20 22 43 68 61 70 74 65 | 72 22 20 6f 66 20 63 64 | "Chapte|r" of cd| |00002840| 20 28 6e 63 6e 2d 31 29 | 20 69 6e 74 6f 20 66 6c | (ncn-1)| into fl| |00002850| 64 20 22 43 68 61 70 74 | 65 72 22 0d 70 75 74 20 |d "Chapt|er".put | |00002860| 66 6c 64 20 22 53 65 63 | 74 69 6f 6e 22 20 6f 66 |fld "Sec|tion" of| |00002870| 20 63 64 20 28 6e 63 6e | 2d 31 29 20 69 6e 74 6f | cd (ncn|-1) into| |00002880| 20 66 6c 64 20 22 53 65 | 63 74 69 6f 6e 22 0d 73 | fld "Se|ction".s| |00002890| 65 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |et the n|ame of t| |000028a0| 68 69 73 20 63 64 20 74 | 6f 20 67 65 74 63 6e 61 |his cd t|o getcna| |000028b0| 6d 65 28 66 6c 64 20 22 | 53 65 63 74 69 6f 6e 22 |me(fld "|Section"| |000028c0| 29 0d 70 75 74 20 66 6c | 64 20 22 43 6f 6e 74 69 |).put fl|d "Conti| |000028d0| 6e 75 65 64 22 20 6f 66 | 20 63 64 20 28 6e 63 6e |nued" of| cd (ncn| |000028e0| 2d 31 29 20 69 6e 74 6f | 20 66 6c 64 20 22 43 6f |-1) into| fld "Co| |000028f0| 6e 74 69 6e 75 65 64 22 | 0d 65 6e 64 20 6e 65 77 |ntinued"|.end new| |00002900| 63 64 0d 0d 6f 6e 20 64 | 65 6c 63 64 0d 67 6c 6f |cd..on d|elcd.glo| |00002910| 62 61 6c 20 73 65 63 75 | 72 69 74 79 0d 69 66 20 |bal secu|rity.if | |00002920| 28 74 6f 70 70 6f 73 28 | 29 20 3d 20 31 29 20 61 |(toppos(|) = 1) a| |00002930| 6e 64 20 28 74 6f 70 70 | 6f 73 28 29 20 3d 20 72 |nd (topp|os() = r| |00002940| 65 70 65 61 74 65 72 28 | 29 29 20 74 68 65 6e 0d |epeater(|)) then.| |00002950| 61 6e 73 77 65 72 20 22 | 54 68 69 73 20 69 73 20 |answer "|This is | |00002960| 74 68 65 20 6f 6e 6c 79 | 20 63 61 72 64 20 69 6e |the only| card in| |00002970| 20 74 68 69 73 20 74 6f | 70 69 63 2e 22 0d 61 6e | this to|pic.".an| |00002980| 73 77 65 72 20 22 59 6f | 75 d5 6c 6c 20 68 61 76 |swer "Yo|u.ll hav| |00002990| 65 20 74 6f 20 64 65 6c | 65 74 65 20 74 68 65 20 |e to del|ete the | |000029a0| 74 6f 70 69 63 20 66 72 | 6f 6d 20 74 68 65 20 54 |topic fr|om the T| |000029b0| 4f 43 2e 22 0d 65 6c 73 | 65 0d 61 6e 73 77 65 72 |OC.".els|e.answer| |000029c0| 20 22 44 65 6c 65 74 65 | 20 74 68 65 20 63 75 72 | "Delete| the cur| |000029d0| 72 65 6e 74 20 63 61 72 | 64 3f 22 20 77 69 74 68 |rent car|d?" with| |000029e0| 20 22 4f 4b 22 20 6f 72 | 20 22 43 61 6e 63 65 6c | "OK" or| "Cancel| |000029f0| 22 0d 69 66 20 69 74 20 | 3d 20 22 4f 4b 22 20 74 |".if it |= "OK" t| |00002a00| 68 65 6e 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |hen.lock| screen.| |00002a10| 70 75 74 20 72 65 70 65 | 61 74 65 72 28 29 20 69 |put repe|ater() i| |00002a20| 6e 74 6f 20 78 0d 70 75 | 74 20 74 6f 70 70 6f 73 |nto x.pu|t toppos| |00002a30| 28 29 20 69 6e 74 6f 20 | 79 0d 69 66 20 66 6c 64 |() into |y.if fld| |00002a40| 20 22 6c 69 6e 6b 73 22 | 20 ad 20 22 22 20 74 68 | "links"| . "" th| |00002a50| 65 6e 0d 61 6e 73 77 65 | 72 20 22 54 68 69 73 20 |en.answe|r "This | |00002a60| 63 61 72 64 20 68 61 73 | 20 6c 69 6e 6b 73 d1 64 |card has| links.d| |00002a70| 65 6c 65 74 65 20 61 6e | 79 77 61 79 3f 22 20 77 |elete an|yway?" w| |00002a80| 69 74 68 20 22 4f 4b 22 | 20 6f 72 20 22 43 61 6e |ith "OK"| or "Can| |00002a90| 63 65 6c 22 0d 69 66 20 | 69 74 20 ad 20 22 4f 4b |cel".if |it . "OK| |00002aa0| 22 20 74 68 65 6e 20 65 | 78 69 74 20 64 65 6c 63 |" then e|xit delc| |00002ab0| 64 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |d.repeat| with i | |00002ac0| 3d 20 28 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |= (the n|umber of| |00002ad0| 20 6c 69 6e 65 73 20 6f | 66 20 66 6c 64 20 22 6c | lines o|f fld "l| |00002ae0| 69 6e 6b 73 22 29 20 64 | 6f 77 6e 20 74 6f 20 31 |inks") d|own to 1| |00002af0| 0d 64 65 6c 4c 69 6e 6b | 20 69 2c 28 6c 69 6e 65 |.delLink| i,(line| |00002b00| 20 69 20 6f 66 20 66 6c | 64 20 22 6c 69 6e 6b 73 | i of fl|d "links| |00002b10| 22 29 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |").end r|epeat.en| |00002b20| 64 20 69 66 0d 70 75 74 | 20 22 4f 4b 22 20 69 6e |d if.put| "OK" in| |00002b30| 74 6f 20 73 65 63 75 72 | 69 74 79 0d 64 6f 4d 65 |to secur|ity.doMe| |00002b40| 6e 75 20 22 44 65 6c 65 | 74 65 20 43 61 72 64 22 |nu "Dele|te Card"| |00002b50| 0d 70 75 73 68 20 63 64 | 0d 72 65 70 65 61 74 20 |.push cd|.repeat | |00002b60| 28 79 2d 31 29 0d 67 6f | 20 70 72 65 76 0d 65 6e |(y-1).go| prev.en| |00002b70| 64 20 72 65 70 65 61 74 | 0d 72 65 70 65 61 74 20 |d repeat|.repeat | |00002b80| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 28 78 |with i =| 1 to (x| |00002b90| 2d 31 29 0d 70 75 74 20 | 63 6f 6e 74 74 65 78 74 |-1).put |conttext| |00002ba0| 28 69 2c 28 78 2d 31 29 | 29 20 69 6e 74 6f 20 66 |(i,(x-1)|) into f| |00002bb0| 6c 64 20 22 43 6f 6e 74 | 69 6e 75 65 64 22 0d 67 |ld "Cont|inued".g| |00002bc0| 6f 20 6e 65 78 74 0d 65 | 6e 64 20 72 65 70 65 61 |o next.e|nd repea| |00002bd0| 74 0d 70 6f 70 20 63 64 | 0d 75 6e 6c 6f 63 6b 20 |t.pop cd|.unlock | |00002be0| 73 63 72 65 65 6e 0d 65 | 6e 64 20 69 66 0d 65 6e |screen.e|nd if.en| |00002bf0| 64 20 69 66 0d 65 6e 64 | 20 64 65 6c 63 64 0d 0d |d if.end| delcd..| |00002c00| 6f 6e 20 63 64 72 65 6f | 72 64 0d 61 6e 73 77 65 |on cdreo|rd.answe| |00002c10| 72 20 22 52 65 6f 72 64 | 65 72 20 63 61 72 64 73 |r "Reord|er cards| |00002c20| 20 69 6e 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | in the |current | |00002c30| 74 6f 70 69 63 3f 22 20 | 77 69 74 68 20 22 4f 4b |topic?" |with "OK| |00002c40| 22 20 6f 72 20 22 43 61 | 6e 63 65 6c 22 0d 69 66 |" or "Ca|ncel".if| |00002c50| 20 69 74 20 69 73 20 22 | 4f 4b 22 20 74 68 65 6e | it is "|OK" then| |00002c60| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 70 75 73 |.lock sc|reen.pus| |00002c70| 68 20 63 64 0d 70 75 74 | 20 66 6c 64 20 22 53 65 |h cd.put| fld "Se| |00002c80| 63 74 69 6f 6e 22 20 69 | 6e 74 6f 20 63 75 72 74 |ction" i|nto curt| |00002c90| 6f 70 0d 72 65 70 65 61 | 74 20 74 6f 70 70 6f 73 |op.repea|t toppos| |00002ca0| 28 29 2d 31 0d 67 6f 20 | 70 72 65 76 0d 65 6e 64 |()-1.go |prev.end| |00002cb0| 20 72 65 70 65 61 74 0d | 72 65 70 65 61 74 20 77 | repeat.|repeat w| |00002cc0| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 72 65 70 |ith i = |1 to rep| |00002cd0| 65 61 74 65 72 28 29 0d | 69 66 20 6c 69 6e 65 20 |eater().|if line | |00002ce0| 31 20 6f 66 20 66 6c 64 | 20 22 73 74 61 74 75 73 |1 of fld| "status| |00002cf0| 22 20 3e 20 30 20 61 6e | 64 20 6c 69 6e 65 20 31 |" > 0 an|d line 1| |00002d00| 20 6f 66 20 66 6c 64 20 | 22 73 74 61 74 75 73 22 | of fld |"status"| |00002d10| 20 3c 20 39 39 20 74 68 | 65 6e 0d 70 75 74 20 6c | < 99 th|en.put l| |00002d20| 69 6e 65 20 31 20 6f 66 | 20 66 6c 64 20 22 73 74 |ine 1 of| fld "st| |00002d30| 61 74 75 73 22 20 69 6e | 74 6f 20 79 0d 65 6c 73 |atus" in|to y.els| |00002d40| 65 0d 70 75 74 20 31 20 | 69 6e 74 6f 20 79 0d 65 |e.put 1 |into y.e| |00002d50| 6e 64 20 69 66 0d 70 75 | 74 20 63 68 61 72 20 31 |nd if.pu|t char 1| |00002d60| 20 74 6f 20 31 35 20 6f | 66 20 6c 69 6e 65 20 31 | to 15 o|f line 1| |00002d70| 20 6f 66 20 66 6c 64 20 | 28 79 20 2b 20 36 29 20 | of fld |(y + 6) | |00002d80| 69 6e 74 6f 20 78 0d 70 | 75 74 20 66 6c 64 20 22 |into x.p|ut fld "| |00002d90| 43 6f 6e 74 69 6e 75 65 | 64 22 20 26 26 20 78 20 |Continue|d" && x | |00002da0| 26 20 22 c9 22 20 69 6e | 74 6f 20 6c 69 6e 65 20 |& "." in|to line | |00002db0| 69 20 6f 66 20 72 6f 6c | 69 73 74 0d 70 75 74 20 |i of rol|ist.put | |00002dc0| 74 68 65 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |the shor|t id of | |00002dd0| 74 68 69 73 20 63 64 20 | 69 6e 74 6f 20 6c 69 6e |this cd |into lin| |00002de0| 65 20 69 20 6f 66 20 69 | 64 6c 69 73 74 0d 67 6f |e i of i|dlist.go| |00002df0| 20 6e 65 78 74 0d 65 6e | 64 20 72 65 70 65 61 74 | next.en|d repeat| |00002e00| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 69 |.put the| short i| |00002e10| 64 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 6e 74 |d of thi|s cd int| |00002e20| 6f 20 6d 61 72 6b 65 72 | 0d 67 6f 20 63 64 20 22 |o marker|.go cd "| |00002e30| 52 65 6f 72 64 65 72 20 | 54 65 6d 70 6c 61 74 65 |Reorder |Template| |00002e40| 22 0d 70 75 74 20 72 6f | 6c 69 73 74 20 69 6e 74 |".put ro|list int| |00002e50| 6f 20 66 6c 64 20 22 72 | 72 6c 69 73 74 22 0d 70 |o fld "r|rlist".p| |00002e60| 75 74 20 69 64 6c 69 73 | 74 20 69 6e 74 6f 20 66 |ut idlis|t into f| |00002e70| 6c 64 20 22 72 69 64 6c | 69 73 74 22 0d 70 75 74 |ld "ridl|ist".put| |00002e80| 20 22 52 65 6f 72 64 65 | 72 20 63 61 72 64 73 20 | "Reorde|r cards | |00002e90| 77 69 74 68 69 6e 22 20 | 26 26 20 22 d2 22 20 26 |within" |&& "." &| |00002ea0| 20 63 75 72 74 6f 70 20 | 26 20 22 d3 22 20 69 6e | curtop |& "." in| |00002eb0| 74 6f 20 66 6c 64 20 72 | 74 79 70 65 0d 70 75 74 |to fld r|type.put| |00002ec0| 20 6d 61 72 6b 65 72 20 | 69 6e 74 6f 20 66 6c 64 | marker |into fld| |00002ed0| 20 22 72 6d 61 72 6b 65 | 72 22 0d 75 6e 6c 6f 63 | "rmarke|r".unloc| |00002ee0| 6b 20 73 63 72 65 65 6e | 20 77 69 74 68 20 7a 6f |k screen| with zo| |00002ef0| 6f 6d 20 6f 70 65 6e 0d | 65 6e 64 20 69 66 0d 65 |om open.|end if.e| |00002f00| 6e 64 20 63 64 72 65 6f | 72 64 0d 0d 6f 6e 20 6c |nd cdreo|rd..on l| |00002f10| 69 6e 6b 46 0d 70 75 74 | 20 63 6c 69 63 6b 4c 69 |inkF.put| clickLi| |00002f20| 6e 65 28 29 20 69 6e 74 | 6f 20 78 0d 67 65 74 20 |ne() int|o x.get | |00002f30| 6c 69 6e 65 20 78 20 6f | 66 20 66 6c 64 20 22 6c |line x o|f fld "l| |00002f40| 69 6e 6b 73 22 0d 69 66 | 20 69 74 20 3d 20 22 22 |inks".if| it = ""| |00002f50| 20 74 68 65 6e 0d 64 6f | 4c 69 6e 6b 0d 65 6c 73 | then.do|Link.els| |00002f60| 65 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 63 75 |e.put it| into cu| |00002f70| 72 6c 69 6e 6b 0d 69 66 | 20 74 68 65 20 6f 70 74 |rlink.if| the opt| |00002f80| 69 6f 6e 4b 65 79 20 69 | 73 20 64 6f 77 6e 20 74 |ionKey i|s down t| |00002f90| 68 65 6e 0d 69 66 20 74 | 68 65 20 73 68 69 66 74 |hen.if t|he shift| |00002fa0| 4b 65 79 20 69 73 20 64 | 6f 77 6e 20 74 68 65 6e |Key is d|own then| |00002fb0| 0d 61 6e 73 77 65 72 20 | 22 44 65 6c 65 74 65 20 |.answer |"Delete | |00002fc0| 74 68 69 73 20 6c 69 6e | 6b 3f 22 20 77 69 74 68 |this lin|k?" with| |00002fd0| 20 22 4f 4b 22 20 6f 72 | 20 22 43 61 6e 63 65 6c | "OK" or| "Cancel| |00002fe0| 22 0d 69 66 20 69 74 20 | 3d 20 22 4f 4b 22 20 74 |".if it |= "OK" t| |00002ff0| 68 65 6e 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |hen.lock| screen.| |00003000| 64 65 6c 4c 69 6e 6b 20 | 78 2c 63 75 72 6c 69 6e |delLink |x,curlin| |00003010| 6b 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |k.unlock| screen.| |00003020| 65 6e 64 20 69 66 0d 65 | 6c 73 65 0d 61 6e 73 77 |end if.e|lse.answ| |00003030| 65 72 20 22 52 65 61 6c | 6c 79 20 65 64 69 74 20 |er "Real|ly edit | |00003040| 74 68 65 20 6c 69 6e 6b | 3f 22 20 77 69 74 68 20 |the link|?" with | |00003050| 22 4f 4b 22 20 6f 72 20 | 22 43 61 6e 63 65 6c 22 |"OK" or |"Cancel"| |00003060| 0d 69 66 20 69 74 20 3d | 20 22 4f 4b 22 20 74 68 |.if it =| "OK" th| |00003070| 65 6e 0d 61 73 6b 20 22 | 45 64 69 74 20 74 68 65 |en.ask "|Edit the| |00003080| 20 6c 69 6e 6b 20 28 62 | 65 20 63 61 72 65 66 75 | link (b|e carefu| |00003090| 6c 21 29 3a 22 20 77 69 | 74 68 20 28 6c 69 6e 65 |l!):" wi|th (line| |000030a0| 20 78 20 6f 66 20 66 6c | 64 20 22 6c 69 6e 6b 73 | x of fl|d "links| |000030b0| 22 29 0d 69 66 20 69 74 | 20 ad 20 22 22 20 74 68 |").if it| . "" th| |000030c0| 65 6e 20 70 75 74 20 69 | 74 20 69 6e 74 6f 20 6c |en put i|t into l| |000030d0| 69 6e 65 20 78 20 6f 66 | 20 66 6c 64 20 22 6c 69 |ine x of| fld "li| |000030e0| 6e 6b 73 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |nks".end| if.end | |000030f0| 69 66 0d 65 6c 73 65 0d | 67 6f 20 63 64 20 69 64 |if.else.|go cd id| |00003100| 20 28 69 74 65 6d 20 31 | 20 6f 66 20 69 74 29 0d | (item 1| of it).| |00003110| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en| |00003120| 64 20 6c 69 6e 6b 46 0d | 0d 6f 6e 20 64 6f 4c 69 |d linkF.|.on doLi| |00003130| 6e 6b 0d 67 6c 6f 62 61 | 6c 20 6c 69 6e 6b 69 6e |nk.globa|l linkin| |00003140| 67 0d 69 66 20 6c 69 6e | 6b 69 6e 67 20 ad 20 22 |g.if lin|king . "| |00003150| 22 20 74 68 65 6e 0d 63 | 6f 6d 70 4c 69 6e 6b 0d |" then.c|ompLink.| |00003160| 65 6c 73 65 0d 69 66 20 | 74 68 65 20 6e 75 6d 62 |else.if |the numb| |00003170| 65 72 20 6f 66 20 62 74 | 6e 73 20 3e 20 31 35 20 |er of bt|ns > 15 | |00003180| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 43 72 65 |then.ans|wer "Cre| |00003190| 61 74 65 20 61 20 6c 69 | 6e 6b 20 66 72 6f 6d 20 |ate a li|nk from | |000031a0| 74 68 69 73 3a 22 20 77 | 69 74 68 20 22 43 61 72 |this:" w|ith "Car| |000031b0| 64 22 20 6f 72 20 22 54 | 65 78 74 22 20 6f 72 20 |d" or "T|ext" or | |000031c0| 22 43 61 6e 63 65 6c 22 | 0d 65 6c 73 65 0d 61 6e |"Cancel"|.else.an| |000031d0| 73 77 65 72 20 22 43 72 | 65 61 74 65 20 61 20 6c |swer "Cr|eate a l| |000031e0| 69 6e 6b 20 66 72 6f 6d | 20 74 68 69 73 20 63 61 |ink from| this ca| |000031f0| 72 64 3f 22 20 77 69 74 | 68 20 22 4f 4b 22 20 6f |rd?" wit|h "OK" o| |00003200| 72 20 22 43 61 6e 63 65 | 6c 22 0d 65 6e 64 20 69 |r "Cance|l".end i| |00003210| 66 0d 69 66 20 69 74 20 | 3d 20 22 54 65 78 74 22 |f.if it |= "Text"| |00003220| 20 6f 72 20 69 74 20 3d | 20 22 43 61 72 64 22 20 | or it =| "Card" | |00003230| 6f 72 20 69 74 20 3d 20 | 22 4f 4b 22 20 74 68 65 |or it = |"OK" the| |00003240| 6e 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 73 6f |n.put it| into so| |00003250| 75 72 63 65 0d 70 75 74 | 20 74 68 65 20 73 68 6f |urce.put| the sho| |00003260| 72 74 20 69 64 20 6f 66 | 20 74 68 69 73 20 63 64 |rt id of| this cd| |00003270| 20 69 6e 74 6f 20 6c 69 | 6e 6b 69 6e 67 0d 61 6e | into li|nking.an| |00003280| 73 77 65 72 20 22 57 68 | 61 74 20 6b 69 6e 64 20 |swer "Wh|at kind | |00003290| 6f 66 20 6c 69 6e 6b 3f | 22 20 77 69 74 68 20 22 |of link?|" with "| |000032a0| 4f 74 68 65 72 22 20 6f | 72 20 22 54 6f 70 69 63 |Other" o|r "Topic| |000032b0| 22 20 6f 72 20 22 44 69 | 61 6c 6f 67 22 0d 69 66 |" or "Di|alog".if| |000032c0| 20 69 74 20 3d 20 22 4f | 74 68 65 72 22 20 74 68 | it = "O|ther" th| |000032d0| 65 6e 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 6c |en.put i|t into l| |000032e0| 74 79 70 65 0d 65 6c 73 | 65 0d 69 66 20 69 74 20 |type.els|e.if it | |000032f0| 3d 20 22 54 6f 70 69 63 | 22 20 74 68 65 6e 0d 70 |= "Topic|" then.p| |00003300| 75 74 20 22 74 6f 70 22 | 20 69 6e 74 6f 20 6c 74 |ut "top"| into lt| |00003310| 79 70 65 0d 65 6c 73 65 | 0d 70 75 74 20 22 64 6c |ype.else|.put "dl| |00003320| 6f 67 22 20 69 6e 74 6f | 20 6c 74 79 70 65 0d 65 |og" into| ltype.e| |00003330| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 69 66 20 |nd if.en|d if.if | |00003340| 73 6f 75 72 63 65 20 3d | 20 22 54 65 78 74 22 20 |source =| "Text" | |00003350| 74 68 65 6e 20 70 75 74 | 20 22 2f 22 20 26 20 6c |then put| "/" & l| |00003360| 69 6e 65 20 31 20 6f 66 | 20 66 6c 64 20 73 74 61 |ine 1 of| fld sta| |00003370| 74 75 73 20 61 66 74 65 | 72 20 6c 74 79 70 65 0d |tus afte|r ltype.| |00003380| 70 75 74 20 6c 74 79 70 | 65 20 69 6e 74 6f 20 69 |put ltyp|e into i| |00003390| 74 65 6d 20 32 20 6f 66 | 20 6c 69 6e 6b 69 6e 67 |tem 2 of| linking| |000033a0| 0d 61 73 6b 20 22 45 6e | 74 65 72 20 74 68 65 20 |.ask "En|ter the | |000033b0| 6c 69 6e 6b 20 6c 61 62 | 65 6c 20 28 43 61 6e 63 |link lab|el (Canc| |000033c0| 65 6c 20 66 6f 72 20 6e | 6f 6e 65 29 3a 22 0d 70 |el for n|one):".p| |000033d0| 75 74 20 71 75 6f 74 65 | 20 26 20 69 74 20 26 20 |ut quote| & it & | |000033e0| 71 75 6f 74 65 20 69 6e | 74 6f 20 69 74 65 6d 20 |quote in|to item | |000033f0| 33 20 6f 66 20 6c 69 6e | 6b 69 6e 67 0d 61 6e 73 |3 of lin|king.ans| |00003400| 77 65 72 20 22 43 72 65 | 61 74 65 20 6c 69 6e 6b |wer "Cre|ate link| |00003410| 20 62 79 20 6e 61 6d 65 | 20 6f 72 20 62 79 20 65 | by name| or by e| |00003420| 78 61 6d 70 6c 65 3f 22 | 20 77 69 74 68 20 22 4e |xample?"| with "N| |00003430| 61 6d 65 22 20 6f 72 20 | c2 0d 22 45 78 61 6d 70 |ame" or |.."Examp| |00003440| 6c 65 22 0d 69 66 20 69 | 74 20 3d 20 22 4e 61 6d |le".if i|t = "Nam| |00003450| 65 22 20 74 68 65 6e 0d | 72 65 70 65 61 74 20 66 |e" then.|repeat f| |00003460| 6f 72 65 76 65 72 0d 61 | 73 6b 20 22 4c 69 6e 6b |orever.a|sk "Link| |00003470| 20 74 6f 20 77 68 69 63 | 68 20 63 61 72 64 3f 22 | to whic|h card?"| |00003480| 0d 69 66 20 69 74 20 ad | 20 22 22 20 74 68 65 6e |.if it .| "" then| |00003490| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 63 6e 61 |.put it |into cna| |000034a0| 6d 65 0d 67 6f 20 63 64 | 20 67 65 74 63 6e 61 6d |me.go cd| getcnam| |000034b0| 65 28 63 6e 61 6d 65 29 | 0d 69 66 20 74 68 65 20 |e(cname)|.if the | |000034c0| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th| |000034d0| 69 73 20 63 64 20 ad 20 | 67 65 74 63 6e 61 6d 65 |is cd . |getcname| |000034e0| 28 63 6e 61 6d 65 29 20 | 74 68 65 6e 0d 61 6e 73 |(cname) |then.ans| |000034f0| 77 65 72 20 22 43 61 6e | d5 74 20 66 69 6e 64 20 |wer "Can|.t find | |00003500| 61 20 63 61 72 64 20 62 | 79 20 74 68 61 74 20 6e |a card b|y that n| |00003510| 61 6d 65 21 22 0d 65 6c | 73 65 0d 63 6f 6d 70 4c |ame!".el|se.compL| |00003520| 69 6e 6b 0d 65 78 69 74 | 20 72 65 70 65 61 74 0d |ink.exit| repeat.| |00003530| 65 6e 64 20 69 66 0d 65 | 6c 73 65 0d 61 6e 73 77 |end if.e|lse.answ| |00003540| 65 72 20 22 53 68 6f 77 | 20 62 79 20 65 78 61 6d |er "Show| by exam| |00003550| 70 6c 65 20 69 6e 73 74 | 65 61 64 3f 22 20 77 69 |ple inst|ead?" wi| |00003560| 74 68 20 22 4f 4b 22 20 | 6f 72 20 22 43 61 6e 63 |th "OK" |or "Canc| |00003570| 65 6c 22 0d 69 66 20 69 | 74 20 3d 20 22 4f 4b 22 |el".if i|t = "OK"| |00003580| 20 74 68 65 6e 0d 70 75 | 74 20 22 50 72 65 73 73 | then.pu|t "Press| |00003590| 20 6c 69 6e 6b 20 61 67 | 61 69 6e 20 77 68 65 6e | link ag|ain when| |000035a0| 20 74 68 65 20 64 65 73 | 74 69 6e 61 74 69 6f 6e | the des|tination| |000035b0| 20 63 61 72 64 20 69 73 | 20 76 69 73 69 62 6c 65 | card is| visible| |000035c0| 2e 2e 2e 22 0d 65 78 69 | 74 20 72 65 70 65 61 74 |...".exi|t repeat| |000035d0| 0d 65 6c 73 65 0d 70 75 | 74 20 22 22 20 69 6e 74 |.else.pu|t "" int| |000035e0| 6f 20 6c 69 6e 6b 69 6e | 67 0d 65 78 69 74 20 72 |o linkin|g.exit r| |000035f0| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |epeat.en|d if.end| |00003600| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 | if.end |repeat.e| |00003610| 6c 73 65 0d 70 75 74 20 | 22 50 72 65 73 73 20 6c |lse.put |"Press l| |00003620| 69 6e 6b 20 61 67 61 69 | 6e 20 77 68 65 6e 20 74 |ink agai|n when t| |00003630| 68 65 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 20 63 |he desti|nation c| |00003640| 61 72 64 20 69 73 20 76 | 69 73 69 62 6c 65 2e 2e |ard is v|isible..| |00003650| 2e 22 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |.".end i|f.end if| |00003660| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 64 6f 4c 69 |.end if.|end doLi| |00003670| 6e 6b 0d 0d 6f 6e 20 63 | 6f 6d 70 4c 69 6e 6b 0d |nk..on c|ompLink.| |00003680| 67 6c 6f 62 61 6c 20 6c | 69 6e 6b 69 6e 67 0d 69 |global l|inking.i| |00003690| 66 20 6c 69 6e 6b 69 6e | 67 20 3d 20 22 22 20 74 |f linkin|g = "" t| |000036a0| 68 65 6e 20 65 78 69 74 | 20 63 6f 6d 70 4c 69 6e |hen exit| compLin| |000036b0| 6b 0d 61 6e 73 77 65 72 | 20 22 4c 69 6e 6b 20 66 |k.answer| "Link f| |000036c0| 72 6f 6d 20 63 64 20 69 | 64 22 20 26 26 20 69 74 |rom cd i|d" && it| |000036d0| 65 6d 20 31 20 6f 66 20 | 6c 69 6e 6b 69 6e 67 20 |em 1 of |linking | |000036e0| 26 26 20 22 74 6f 20 74 | 68 69 73 20 63 61 72 64 |&& "to t|his card| |000036f0| 3f 22 20 77 69 74 68 c2 | 0d 22 59 65 73 22 20 6f |?" with.|."Yes" o| |00003700| 72 c2 0d 22 4e 6f 22 20 | 6f 72 20 22 43 61 6e 63 |r.."No" |or "Canc| |00003710| 65 6c 22 0d 69 66 20 69 | 74 20 3d 20 22 4e 6f 22 |el".if i|t = "No"| |00003720| 20 74 68 65 6e 20 65 78 | 69 74 20 63 6f 6d 70 4c | then ex|it compL| |00003730| 69 6e 6b 0d 69 66 20 69 | 74 20 3d 20 22 59 65 73 |ink.if i|t = "Yes| |00003740| 22 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 73 |" then.p|ut the s| |00003750| 68 6f 72 74 20 69 64 20 | 6f 66 20 74 68 69 73 20 |hort id |of this | |00003760| 63 64 20 69 6e 74 6f 20 | 6e 63 61 72 64 0d 70 75 |cd into |ncard.pu| |00003770| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 6c 69 6e 6b |t item 1| of link| |00003780| 69 6e 67 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |ing & re|turn aft| |00003790| 65 72 20 66 6c 64 20 22 | 6c 69 6e 6b 73 22 0d 67 |er fld "|links".g| |000037a0| 6f 20 63 64 20 69 64 20 | 28 69 74 65 6d 20 31 20 |o cd id |(item 1 | |000037b0| 6f 66 20 6c 69 6e 6b 69 | 6e 67 29 0d 70 75 74 20 |of linki|ng).put | |000037c0| 6e 63 61 72 64 20 26 20 | 20 22 2c 22 20 26 20 28 |ncard & | "," & (| |000037d0| 69 74 65 6d 20 32 20 74 | 6f 20 33 20 6f 66 20 6c |item 2 t|o 3 of l| |000037e0| 69 6e 6b 69 6e 67 29 20 | 26 20 72 65 74 75 72 6e |inking) |& return| |000037f0| 20 61 66 74 65 72 c2 0d | 66 6c 64 20 22 6c 69 6e | after..|fld "lin| |00003800| 6b 73 22 0d 61 6e 73 77 | 65 72 20 22 4c 69 6e 6b |ks".answ|er "Link| |00003810| 20 77 61 73 20 73 75 63 | 63 65 73 73 66 75 6c 21 | was suc|cessful!| |00003820| 22 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 22 22 20 |".end if|.put "" | |00003830| 69 6e 74 6f 20 6c 69 6e | 6b 69 6e 67 0d 68 69 64 |into lin|king.hid| |00003840| 65 20 6d 73 67 0d 65 6e | 64 20 63 6f 6d 70 4c 69 |e msg.en|d compLi| |00003850| 6e 6b 0d 0d 6f 6e 20 64 | 65 6c 4c 69 6e 6b 20 78 |nk..on d|elLink x| |00003860| 2c 63 75 72 6c 69 6e 6b | 0d 64 65 6c 65 74 65 20 |,curlink|.delete | |00003870| 6c 69 6e 65 20 78 20 6f | 66 20 66 6c 64 20 22 6c |line x o|f fld "l| |00003880| 69 6e 6b 73 22 0d 70 75 | 74 20 74 68 65 20 73 68 |inks".pu|t the sh| |00003890| 6f 72 74 20 69 64 20 6f | 66 20 74 68 69 73 20 63 |ort id o|f this c| |000038a0| 64 20 69 6e 74 6f 20 63 | 75 72 69 64 0d 67 6f 20 |d into c|urid.go | |000038b0| 63 64 20 69 64 20 28 69 | 74 65 6d 20 31 20 6f 66 |cd id (i|tem 1 of| |000038c0| 20 63 75 72 6c 69 6e 6b | 29 0d 69 66 20 74 68 65 | curlink|).if the| |000038d0| 20 73 68 6f 72 74 20 69 | 64 20 6f 66 20 74 68 69 | short i|d of thi| |000038e0| 73 20 63 64 20 3d 20 28 | 69 74 65 6d 20 31 20 6f |s cd = (|item 1 o| |000038f0| 66 20 63 75 72 6c 69 6e | 6b 29 20 74 68 65 6e 0d |f curlin|k) then.| |00003900| 70 75 74 20 6f 66 66 73 | 65 74 28 63 75 72 69 64 |put offs|et(curid| |00003910| 2c 66 6c 64 20 22 6c 69 | 6e 6b 73 22 29 20 69 6e |,fld "li|nks") in| |00003920| 74 6f 20 70 0d 69 66 20 | 70 20 3e 20 30 20 74 68 |to p.if |p > 0 th| |00003930| 65 6e 0d 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 28 |en.delet|e line (| |00003940| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li| |00003950| 6e 65 73 20 6f 66 20 63 | 68 61 72 20 31 20 74 6f |nes of c|har 1 to| |00003960| 20 28 70 29 c2 0d 6f 66 | 20 66 6c 64 20 22 6c 69 | (p)..of| fld "li| |00003970| 6e 6b 73 22 29 20 6f 66 | 20 66 6c 64 20 22 6c 69 |nks") of| fld "li| |00003980| 6e 6b 73 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |nks".end| if.end | |00003990| 69 66 0d 67 6f 20 63 64 | 20 69 64 20 28 63 75 72 |if.go cd| id (cur| |000039a0| 69 64 29 0d 65 6e 64 20 | 64 65 6c 4c 69 6e 6b 0d |id).end |delLink.| |000039b0| 0d 6f 6e 20 63 6f 6e 76 | 65 72 74 20 78 2c 79 0d |.on conv|ert x,y.| |000039c0| 67 6c 6f 62 61 6c 20 73 | 65 63 75 72 69 74 79 0d |global s|ecurity.| |000039d0| 70 75 74 20 75 73 65 72 | 6c 65 76 65 6c 20 69 6e |put user|level in| |000039e0| 74 6f 20 55 4c 0d 73 65 | 74 20 75 73 65 72 6c 65 |to UL.se|t userle| |000039f0| 76 65 6c 20 74 6f 20 35 | 0d 70 75 74 20 74 68 65 |vel to 5|.put the| |00003a00| 20 73 68 6f 72 74 20 69 | 64 20 6f 66 20 74 68 69 | short i|d of thi| |00003a10| 73 20 63 64 20 69 6e 74 | 6f 20 6f 72 69 67 0d 73 |s cd int|o orig.s| |00003a20| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus| |00003a30| 79 0d 67 6f 20 62 67 20 | 28 78 29 0d 70 75 74 20 |y.go bg |(x).put | |00003a40| 22 4f 4b 22 20 69 6e 74 | 6f 20 73 65 63 75 72 69 |"OK" int|o securi| |00003a50| 74 79 0d 64 6f 4d 65 6e | 75 20 22 4e 65 77 20 43 |ty.doMen|u "New C| |00003a60| 61 72 64 22 0d 70 75 74 | 20 22 4f 4b 22 20 69 6e |ard".put| "OK" in| |00003a70| 74 6f 20 73 65 63 75 72 | 69 74 79 0d 64 6f 4d 65 |to secur|ity.doMe| |00003a80| 6e 75 20 22 43 75 74 20 | 43 61 72 64 22 0d 67 6f |nu "Cut |Card".go| |00003a90| 20 63 64 20 69 64 20 28 | 6f 72 69 67 29 0d 70 75 | cd id (|orig).pu| |00003aa0| 74 20 22 4f 4b 22 20 69 | 6e 74 6f 20 73 65 63 75 |t "OK" i|nto secu| |00003ab0| 72 69 74 79 0d 64 6f 4d | 65 6e 75 20 22 50 61 73 |rity.doM|enu "Pas| |00003ac0| 74 65 20 43 61 72 64 22 | 0d 67 6f 20 70 72 65 76 |te Card"|.go prev| |00003ad0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b| |00003ae0| 75 73 79 0d 69 66 20 79 | 20 3d 20 22 32 74 6f 31 |usy.if y| = "2to1| |00003af0| 22 20 74 68 65 6e 0d 63 | 6f 6e 76 32 74 6f 31 0d |" then.c|onv2to1.| |00003b00| 65 6c 73 65 0d 69 66 20 | 79 20 3d 20 22 6e 74 6f |else.if |y = "nto| |00003b10| 78 22 20 74 68 65 6e 0d | 69 66 20 63 6c 69 63 6b |x" then.|if click| |00003b20| 61 62 6c 65 28 29 20 3d | 20 22 74 72 75 65 22 20 |able() =| "true" | |00003b30| 74 68 65 6e 20 65 78 69 | 74 20 63 6f 6e 76 65 72 |then exi|t conver| |00003b40| 74 0d 63 6f 6e 76 6e 74 | 6f 78 0d 65 6c 73 65 0d |t.convnt|ox.else.| |00003b50| 69 66 20 79 20 3d 20 22 | 78 74 6f 6e 22 20 74 68 |if y = "|xton" th| |00003b60| 65 6e 0d 69 66 20 63 6c | 69 63 6b 61 62 6c 65 28 |en.if cl|ickable(| |00003b70| 29 20 3d 20 22 74 72 75 | 65 22 20 74 68 65 6e 20 |) = "tru|e" then | |00003b80| 65 78 69 74 20 63 6f 6e | 76 65 72 74 0d 63 6f 6e |exit con|vert.con| |00003b90| 76 78 74 6f 6e 0d 65 6c | 73 65 0d 69 66 20 79 20 |vxton.el|se.if y | |00003ba0| 3d 20 22 31 74 6f 32 22 | 20 74 68 65 6e 0d 70 75 |= "1to2"| then.pu| |00003bb0| 74 20 36 37 20 69 6e 74 | 6f 20 7a 0d 65 6c 73 65 |t 67 int|o z.else| |00003bc0| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number | |00003bd0| 6f 66 20 66 6c 64 73 20 | 69 6e 74 6f 20 7a 0d 65 |of flds |into z.e| |00003be0| 6e 64 20 69 66 0d 72 65 | 70 65 61 74 20 77 69 74 |nd if.re|peat wit| |00003bf0| 68 20 69 20 3d 20 31 20 | 74 6f 20 7a 0d 69 66 20 |h i = 1 |to z.if | |00003c00| 66 6c 64 20 69 20 ad 20 | 22 22 20 74 68 65 6e 0d |fld i . |"" then.| |00003c10| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu| |00003c20| 73 79 0d 70 75 74 20 66 | 6c 64 20 69 20 69 6e 74 |sy.put f|ld i int| |00003c30| 6f 20 74 65 6d 70 0d 67 | 6f 20 6e 65 78 74 0d 69 |o temp.g|o next.i| |00003c40| 66 20 69 20 3e 3d 20 37 | 20 61 6e 64 20 69 20 3c |f i >= 7| and i <| |00003c50| 3d 20 32 32 20 74 68 65 | 6e 20 70 75 74 20 74 65 |= 22 the|n put te| |00003c60| 6d 70 20 69 6e 74 6f 20 | 66 6c 64 20 28 36 31 20 |mp into |fld (61 | |00003c70| 2b 20 69 29 0d 65 6c 73 | 65 20 70 75 74 20 74 65 |+ i).els|e put te| |00003c80| 6d 70 20 69 6e 74 6f 20 | 66 6c 64 20 69 0d 67 6f |mp into |fld i.go| |00003c90| 20 70 72 65 76 0d 65 6e | 64 20 69 66 0d 65 6e 64 | prev.en|d if.end| |00003ca0| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 65 | repeat.|end if.e| |00003cb0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 67 6f 20 |nd if.en|d if.go | |00003cc0| 63 64 20 69 64 20 28 6f | 72 69 67 29 0d 69 66 20 |cd id (o|rig).if | |00003cd0| 66 6c 64 20 22 6c 69 6e | 6b 73 22 20 ad 20 22 22 |fld "lin|ks" . ""| |00003ce0| 20 74 68 65 6e 0d 63 6f | 6e 76 4c 69 6e 6b 73 20 | then.co|nvLinks | |00003cf0| 6f 72 69 67 0d 65 6e 64 | 20 69 66 0d 69 66 20 28 |orig.end| if.if (| |00003d00| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 62 74 |the numb|er of bt| |00003d10| 6e 73 29 20 3e 20 30 20 | 74 68 65 6e 0d 72 65 70 |ns) > 0 |then.rep| |00003d20| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t| |00003d30| 6f 20 28 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |o (the n|umber of| |00003d40| 20 62 74 6e 73 29 0d 73 | 65 74 20 63 75 72 73 6f | btns).s|et curso| |00003d50| 72 20 74 6f 20 62 75 73 | 79 0d 73 65 6c 65 63 74 |r to bus|y.select| |00003d60| 20 62 74 6e 20 69 0d 64 | 6f 4d 65 6e 75 20 22 43 | btn i.d|oMenu "C| |00003d70| 6f 70 79 20 42 75 74 74 | 6f 6e 22 0d 67 6f 20 6e |opy Butt|on".go n| |00003d80| 65 78 74 0d 64 6f 4d 65 | 6e 75 20 22 50 61 73 74 |ext.doMe|nu "Past| |00003d90| 65 20 42 75 74 74 6f 6e | 22 0d 67 6f 20 70 72 65 |e Button|".go pre| |00003da0| 76 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |v.end re|peat.end| |00003db0| 20 69 66 0d 63 68 6f 6f | 73 65 20 6c 61 73 73 6f | if.choo|se lasso| |00003dc0| 20 74 6f 6f 6c 0d 64 6f | 4d 65 6e 75 20 22 53 65 | tool.do|Menu "Se| |00003dd0| 6c 65 63 74 22 0d 69 66 | 20 74 68 65 20 74 6f 6f |lect".if| the too| |00003de0| 6c 20 3d 20 22 6c 61 73 | 73 6f 20 74 6f 6f 6c 22 |l = "las|so tool"| |00003df0| 20 74 68 65 6e 0d 64 6f | 4d 65 6e 75 20 22 43 6f | then.do|Menu "Co| |00003e00| 70 79 20 50 69 63 74 75 | 72 65 22 0d 67 6f 20 6e |py Pictu|re".go n| |00003e10| 65 78 74 0d 64 6f 4d 65 | 6e 75 20 22 50 61 73 74 |ext.doMe|nu "Past| |00003e20| 65 20 50 69 63 74 75 72 | 65 22 0d 67 6f 20 70 72 |e Pictur|e".go pr| |00003e30| 65 76 0d 65 6e 64 20 69 | 66 0d 63 68 6f 6f 73 65 |ev.end i|f.choose| |00003e40| 20 74 6f 6f 6c 20 31 0d | 70 75 74 20 74 68 65 20 | tool 1.|put the | |00003e50| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th| |00003e60| 69 73 20 63 64 20 69 6e | 74 6f 20 6e 65 77 6e 0d |is cd in|to newn.| |00003e70| 70 75 74 20 22 4f 4b 22 | 20 69 6e 74 6f 20 73 65 |put "OK"| into se| |00003e80| 63 75 72 69 74 79 0d 64 | 6f 4d 65 6e 75 20 22 43 |curity.d|oMenu "C| |00003e90| 75 74 20 43 61 72 64 22 | 0d 73 65 74 20 74 68 65 |ut Card"|.set the| |00003ea0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 63 64 | name of| this cd| |00003eb0| 20 74 6f 20 6e 65 77 6e | 0d 73 65 74 20 63 75 72 | to newn|.set cur| |00003ec0| 73 6f 72 20 74 6f 20 31 | 0d 73 65 74 20 75 73 65 |sor to 1|.set use| |00003ed0| 72 6c 65 76 65 6c 20 74 | 6f 20 34 0d 65 6e 64 20 |rlevel t|o 4.end | |00003ee0| 63 6f 6e 76 65 72 74 0d | 0d 6f 6e 20 63 6f 6e 76 |convert.|.on conv| |00003ef0| 32 74 6f 31 0d 72 65 70 | 65 61 74 20 77 69 74 68 |2to1.rep|eat with| |00003f00| 20 69 20 3d 20 31 20 74 | 6f 20 36 37 0d 69 66 20 | i = 1 t|o 67.if | |00003f10| 66 6c 64 20 69 20 ad 20 | 22 22 20 74 68 65 6e 0d |fld i . |"" then.| |00003f20| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu| |00003f30| 73 79 0d 70 75 74 20 66 | 6c 64 20 69 20 69 6e 74 |sy.put f|ld i int| |00003f40| 6f 20 74 65 6d 70 0d 67 | 6f 20 6e 65 78 74 0d 70 |o temp.g|o next.p| |00003f50| 75 74 20 74 65 6d 70 20 | 69 6e 74 6f 20 66 6c 64 |ut temp |into fld| |00003f60| 20 69 0d 67 6f 20 70 72 | 65 76 0d 65 6e 64 20 69 | i.go pr|ev.end i| |00003f70| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 72 65 70 |f.end re|peat.rep| |00003f80| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 36 38 20 |eat with| i = 68 | |00003f90| 74 6f 20 38 33 0d 69 66 | 20 66 6c 64 20 69 20 ad |to 83.if| fld i .| |00003fa0| 20 22 22 20 74 68 65 6e | 0d 73 65 74 20 63 75 72 | "" then|.set cur| |00003fb0| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 70 75 74 20 |sor to b|usy.put | |00003fc0| 66 6c 64 20 69 20 69 6e | 74 6f 20 74 65 6d 70 0d |fld i in|to temp.| |00003fd0| 67 6f 20 6e 65 78 74 0d | 70 75 74 20 74 65 6d 70 |go next.|put temp| |00003fe0| 20 61 66 74 65 72 20 66 | 6c 64 20 28 69 20 2d 20 | after f|ld (i - | |00003ff0| 36 31 29 0d 67 6f 20 70 | 72 65 76 0d 65 6e 64 20 |61).go p|rev.end | |00004000| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |if.end r|epeat.re| |00004010| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 38 34 |peat wit|h i = 84| |00004020| 20 74 6f 20 39 39 0d 69 | 66 20 66 6c 64 20 69 20 | to 99.i|f fld i | |00004030| ad 20 22 22 20 74 68 65 | 6e 0d 73 65 74 20 63 75 |. "" the|n.set cu| |00004040| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 70 75 74 |rsor to |busy.put| |00004050| 20 66 6c 64 20 69 20 69 | 6e 74 6f 20 74 65 6d 70 | fld i i|nto temp| |00004060| 0d 67 6f 20 6e 65 78 74 | 0d 70 75 74 20 74 65 6d |.go next|.put tem| |00004070| 70 20 61 66 74 65 72 20 | 66 6c 64 20 28 69 20 2d |p after |fld (i -| |00004080| 20 33 32 29 0d 67 6f 20 | 70 72 65 76 0d 65 6e 64 | 32).go |prev.end| |00004090| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 | if.end |repeat.e| |000040a0| 6e 64 20 63 6f 6e 76 32 | 74 6f 31 0d 0d 6f 6e 20 |nd conv2|to1..on | |000040b0| 63 6f 6e 76 6e 74 6f 78 | 0d 72 65 70 65 61 74 20 |convntox|.repeat | |000040c0| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 35 0d |with i =| 1 to 5.| |000040d0| 63 6f 6e 76 66 6c 64 20 | 69 2c 74 68 65 20 73 68 |convfld |i,the sh| |000040e0| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 66 6c 64 20 |ort name| of fld | |000040f0| 69 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 72 65 70 |i.end re|peat.rep| |00004100| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 30 20 |eat with| i = 10 | |00004110| 74 6f 20 32 31 0d 63 6f | 6e 76 66 6c 64 20 69 2c |to 21.co|nvfld i,| |00004120| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o| |00004130| 66 20 66 6c 64 20 69 0d | 65 6e 64 20 72 65 70 65 |f fld i.|end repe| |00004140| 61 74 0d 70 75 74 20 62 | 74 79 70 65 28 29 20 69 |at.put b|type() i| |00004150| 6e 74 6f 20 62 74 79 70 | 65 0d 63 6f 6e 76 66 6c |nto btyp|e.convfl| |00004160| 64 20 37 2c 37 0d 63 6f | 6e 76 66 6c 64 20 38 2c |d 7,7.co|nvfld 8,| |00004170| 35 32 0d 69 66 20 62 74 | 79 70 65 20 3d 20 31 20 |52.if bt|ype = 1 | |00004180| 74 68 65 6e 0d 63 6f 6e | 76 66 6c 64 20 39 2c 31 |then.con|vfld 9,1| |00004190| 30 35 32 0d 63 6f 6e 76 | 66 6c 64 20 32 32 2c 31 |052.conv|fld 22,1| |000041a0| 30 30 37 0d 65 6c 73 65 | 0d 63 6f 6e 76 66 6c 64 |007.else|.convfld| |000041b0| 20 39 2c 35 32 0d 63 6f | 6e 76 66 6c 64 20 32 32 | 9,52.co|nvfld 22| |000041c0| 2c 36 38 0d 65 6e 64 20 | 69 66 0d 63 6f 6e 76 66 |,68.end |if.convf| |000041d0| 6c 64 20 32 33 2c 31 30 | 30 37 0d 63 6f 6e 76 66 |ld 23,10|07.convf| |000041e0| 6c 64 20 32 34 2c 31 30 | 30 37 0d 65 6e 64 20 63 |ld 24,10|07.end c| |000041f0| 6f 6e 76 6e 74 6f 78 0d | 0d 6f 6e 20 63 6f 6e 76 |onvntox.|.on conv| |00004200| 78 74 6f 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |xton.rep|eat with| |00004210| 20 69 20 3d 20 31 20 74 | 6f 20 35 0d 63 6f 6e 76 | i = 1 t|o 5.conv| |00004220| 66 6c 64 20 69 2c 74 68 | 65 20 73 68 6f 72 74 20 |fld i,th|e short | |00004230| 6e 61 6d 65 20 6f 66 20 | 66 6c 64 20 69 0d 65 6e |name of |fld i.en| |00004240| 64 20 72 65 70 65 61 74 | 0d 72 65 70 65 61 74 20 |d repeat|.repeat | |00004250| 77 69 74 68 20 69 20 3d | 20 32 36 20 74 6f 20 33 |with i =| 26 to 3| |00004260| 37 0d 63 6f 6e 76 66 6c | 64 20 69 2c 74 68 65 20 |7.convfl|d i,the | |00004270| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 66 6c |short na|me of fl| |00004280| 64 20 69 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 63 |d i.end |repeat.c| |00004290| 6f 6e 76 66 6c 64 20 37 | 2c 37 0d 63 6f 6e 76 66 |onvfld 7|,7.convf| |000042a0| 6c 64 20 35 32 2c 38 0d | 69 66 20 62 74 79 70 65 |ld 52,8.|if btype| |000042b0| 28 29 20 3d 20 32 20 74 | 68 65 6e 0d 63 6f 6e 76 |() = 2 t|hen.conv| |000042c0| 66 6c 64 20 38 34 2c 39 | 0d 63 6f 6e 76 66 6c 64 |fld 84,9|.convfld| |000042d0| 20 36 38 2c 32 32 0d 65 | 6e 64 20 69 66 0d 65 6e | 68,22.e|nd if.en| |000042e0| 64 20 63 6f 6e 76 78 74 | 6f 6e 0d 0d 66 75 6e 63 |d convxt|on..func| |000042f0| 74 69 6f 6e 20 62 74 79 | 70 65 0d 69 66 20 74 68 |tion bty|pe.if th| |00004300| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 66 6c 64 73 |e number| of flds| |00004310| 20 3c 20 32 35 20 74 68 | 65 6e 0d 72 65 74 75 72 | < 25 th|en.retur| |00004320| 6e 20 22 6e 22 0d 65 6c | 73 65 0d 69 66 20 74 68 |n "n".el|se.if th| |00004330| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 66 6c 64 73 |e number| of flds| |00004340| 20 3e 20 38 39 20 74 68 | 65 6e 0d 72 65 74 75 72 | > 89 th|en.retur| |00004350| 6e 20 32 0d 65 6c 73 65 | 0d 72 65 74 75 72 6e 20 |n 2.else|.return | |00004360| 31 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |1.end if|.end if.| |00004370| 65 6e 64 20 62 74 79 70 | 65 0d 0d 6f 6e 20 63 6f |end btyp|e..on co| |00004380| 6e 76 66 6c 64 20 69 2c | 66 6e 61 6d 65 0d 73 65 |nvfld i,|fname.se| |00004390| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy| |000043a0| 0d 70 75 74 20 66 6c 64 | 20 69 20 69 6e 74 6f 20 |.put fld| i into | |000043b0| 74 65 6d 70 0d 67 6f 20 | 6e 65 78 74 0d 69 66 20 |temp.go |next.if | |000043c0| 66 6e 61 6d 65 20 3e 20 | 39 39 39 20 61 6e 64 20 |fname > |999 and | |000043d0| 66 6e 61 6d 65 20 3c 20 | 39 39 39 39 20 74 68 65 |fname < |9999 the| |000043e0| 6e 0d 70 75 74 20 74 65 | 6d 70 20 61 66 74 65 72 |n.put te|mp after| |000043f0| 20 66 6c 64 20 28 66 6e | 61 6d 65 2d 31 30 30 30 | fld (fn|ame-1000| |00004400| 29 0d 65 6c 73 65 0d 70 | 75 74 20 74 65 6d 70 20 |).else.p|ut temp | |00004410| 69 6e 74 6f 20 66 6c 64 | 20 28 66 6e 61 6d 65 29 |into fld| (fname)| |00004420| 0d 65 6e 64 20 69 66 0d | 67 6f 20 70 72 65 76 0d |.end if.|go prev.| |00004430| 65 6e 64 20 63 6f 6e 76 | 66 6c 64 0d 0d 6f 6e 20 |end conv|fld..on | |00004440| 63 6f 6e 76 4c 69 6e 6b | 73 20 6f 72 69 67 0d 67 |convLink|s orig.g| |00004450| 65 74 20 66 6c 64 20 22 | 6c 69 6e 6b 73 22 0d 67 |et fld "|links".g| |00004460| 6f 20 6e 65 78 74 0d 70 | 75 74 20 69 74 20 69 6e |o next.p|ut it in| |00004470| 74 6f 20 66 6c 64 20 22 | 6c 69 6e 6b 73 22 0d 70 |to fld "|links".p| |00004480| 75 74 20 74 68 65 20 73 | 68 6f 72 74 20 69 64 20 |ut the s|hort id | |00004490| 6f 66 20 74 68 69 73 20 | 63 64 20 69 6e 74 6f 20 |of this |cd into | |000044a0| 6e 65 77 69 64 0d 72 65 | 70 65 61 74 20 77 69 74 |newid.re|peat wit| |000044b0| 68 20 69 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h i = 1 |to the n| |000044c0| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o| |000044d0| 66 20 66 6c 64 20 22 6c | 69 6e 6b 73 22 0d 67 6f |f fld "l|inks".go| |000044e0| 20 63 64 20 69 64 20 28 | 69 74 65 6d 20 31 20 6f | cd id (|item 1 o| |000044f0| 66 20 6c 69 6e 65 20 69 | 20 6f 66 20 66 6c 64 20 |f line i| of fld | |00004500| 22 6c 69 6e 6b 73 22 29 | 0d 70 75 74 20 6f 66 66 |"links")|.put off| |00004510| 73 65 74 28 6f 72 69 67 | 2c 66 6c 64 20 22 6c 69 |set(orig|,fld "li| |00004520| 6e 6b 73 22 29 20 69 6e | 74 6f 20 6f 66 66 73 0d |nks") in|to offs.| |00004530| 70 75 74 20 6e 65 77 69 | 64 20 69 6e 74 6f 20 63 |put newi|d into c| |00004540| 68 61 72 20 28 6f 66 66 | 73 29 20 74 6f 20 28 6c |har (off|s) to (l| |00004550| 65 6e 67 74 68 28 6f 72 | 69 67 29 20 2b 20 28 6f |ength(or|ig) + (o| |00004560| 66 66 73 29 20 2d 20 31 | 29 20 6f 66 c2 0d 66 6c |ffs) - 1|) of..fl| |00004570| 64 20 22 6c 69 6e 6b 73 | 22 0d 67 6f 20 63 64 20 |d "links|".go cd | |00004580| 69 64 20 28 6e 65 77 69 | 64 29 0d 65 6e 64 20 72 |id (newi|d).end r| |00004590| 65 70 65 61 74 0d 67 6f | 20 63 64 20 69 64 20 28 |epeat.go| cd id (| |000045a0| 6f 72 69 67 29 0d 65 6e | 64 20 63 6f 6e 76 4c 69 |orig).en|d convLi| |000045b0| 6e 6b 73 0d 0d 6f 6e 20 | 74 72 65 6e 61 6d 65 20 |nks..on |trename | |000045c0| 6f 62 6a 2c 6f 6c 64 6e | 0d 61 73 6b 20 22 50 6c |obj,oldn|.ask "Pl| |000045d0| 65 61 73 65 20 72 65 6e | 61 6d 65 20 74 68 65 20 |ease ren|ame the | |000045e0| 63 68 61 70 74 65 72 3a | 22 20 77 69 74 68 20 6f |chapter:|" with o| |000045f0| 6c 64 6e 0d 69 66 20 69 | 74 20 ad 20 65 6d 70 74 |ldn.if i|t . empt| |00004600| 79 20 74 68 65 6e 0d 6c | 6f 63 6b 20 73 63 72 65 |y then.l|ock scre| |00004610| 65 6e 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 6e |en.put i|t into n| |00004620| 65 77 6e 0d 69 66 20 77 | 6f 72 64 20 31 20 6f 66 |ewn.if w|ord 1 of| |00004630| 20 6f 62 6a 20 3d 20 22 | 66 6c 64 22 20 74 68 65 | obj = "|fld" the| |00004640| 6e 0d 70 75 73 68 20 63 | 64 0d 67 6f 20 63 64 20 |n.push c|d.go cd | |00004650| 22 43 6f 6e 74 65 6e 74 | 73 20 54 65 6d 70 6c 61 |"Content|s Templa| |00004660| 74 65 22 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |te".repe|at with | |00004670| 69 20 3d 20 31 20 74 6f | 20 74 68 65 20 6e 75 6d |i = 1 to| the num| |00004680| 62 65 72 20 6f 66 20 62 | 74 6e 73 0d 69 66 20 74 |ber of b|tns.if t| |00004690| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of| |000046a0| 20 62 74 6e 20 69 20 3d | 20 28 6f 6c 64 6e 29 20 | btn i =| (oldn) | |000046b0| 74 68 65 6e 0d 70 75 74 | 20 22 62 74 6e 20 69 64 |then.put| "btn id| |000046c0| 22 20 26 26 20 28 74 68 | 65 20 69 64 20 6f 66 20 |" && (th|e id of | |000046d0| 62 74 6e 20 69 29 20 69 | 6e 74 6f 20 6f 62 6a 0d |btn i) i|nto obj.| |000046e0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea| |000046f0| 74 0d 69 66 20 77 6f 72 | 64 20 31 20 6f 66 20 6f |t.if wor|d 1 of o| |00004700| 62 6a 20 3d 20 22 66 6c | 64 22 20 74 68 65 6e 0d |bj = "fl|d" then.| |00004710| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o| |00004720| 66 20 6c 69 6e 65 73 20 | 6f 66 20 63 68 61 72 20 |f lines |of char | |00004730| 31 20 74 6f 20 28 6f 66 | 66 73 65 74 28 6f 6c 64 |1 to (of|fset(old| |00004740| 6e 2c 66 6c 64 20 63 68 | 61 70 6c 69 73 74 29 29 |n,fld ch|aplist))| |00004750| c2 0d 6f 66 20 66 6c 64 | 20 63 68 61 70 6c 69 73 |..of fld| chaplis| |00004760| 74 20 69 6e 74 6f 20 72 | 0d 73 65 6e 64 20 28 22 |t into r|.send ("| |00004770| 63 68 72 65 6e 61 6d 65 | 22 20 26 26 20 72 2b 31 |chrename|" && r+1| |00004780| 30 33 20 26 20 22 2c 22 | 20 26 20 71 75 6f 74 65 |03 & ","| & quote| |00004790| 20 26 20 6e 65 77 6e 20 | 26 20 71 75 6f 74 65 29 | & newn |& quote)| |000047a0| 20 74 6f 20 74 68 69 73 | 20 62 67 0d 70 6f 70 20 | to this| bg.pop | |000047b0| 63 64 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |cd.unloc|k screen| |000047c0| 0d 65 78 69 74 20 74 72 | 65 6e 61 6d 65 0d 65 6e |.exit tr|ename.en| |000047d0| 64 20 69 66 0d 65 6c 73 | 65 0d 70 75 73 68 20 63 |d if.els|e.push c| |000047e0| 64 0d 65 6e 64 20 69 66 | 0d 73 65 74 20 74 68 65 |d.end if|.set the| |000047f0| 20 6e 61 6d 65 20 6f 66 | 20 28 6f 62 6a 29 20 74 | name of| (obj) t| |00004800| 6f 20 28 6e 65 77 6e 29 | 0d 73 65 6e 64 20 6d 6f |o (newn)|.send mo| |00004810| 75 73 65 55 70 20 74 6f | 20 28 6f 62 6a 29 0d 72 |useUp to| (obj).r| |00004820| 65 70 65 61 74 20 75 6e | 74 69 6c 20 6c 69 6e 65 |epeat un|til line| |00004830| 20 31 20 6f 66 20 66 6c | 64 20 63 68 61 70 74 65 | 1 of fl|d chapte| |00004840| 72 20 ad 20 28 6f 6c 64 | 6e 29 0d 73 65 74 20 63 |r . (old|n).set c| |00004850| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 70 75 |ursor to| busy.pu| |00004860| 74 20 28 6e 65 77 6e 29 | 20 69 6e 74 6f 20 6c 69 |t (newn)| into li| |00004870| 6e 65 20 31 20 6f 66 20 | 66 6c 64 20 63 68 61 70 |ne 1 of |fld chap| |00004880| 74 65 72 0d 67 6f 20 6e | 65 78 74 0d 69 66 20 77 |ter.go n|ext.if w| |00004890| 6f 72 64 20 31 20 6f 66 | 20 74 68 65 20 73 68 6f |ord 1 of| the sho| |000048a0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this | |000048b0| 62 67 20 3d 20 22 62 6b | 67 6e 64 22 20 74 68 65 |bg = "bk|gnd" the| |000048c0| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |n exit r|epeat.en| |000048d0| 64 20 72 65 70 65 61 74 | 0d 73 65 74 20 63 75 72 |d repeat|.set cur| |000048e0| 73 6f 72 20 74 6f 20 31 | 0d 70 6f 70 20 63 64 0d |sor to 1|.pop cd.| |000048f0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 65 6e |unlock s|creen.en| |00004900| 64 20 69 66 0d 65 6e 64 | 20 74 72 65 6e 61 6d 65 |d if.end| trename| |00004910| 0d 0d 6f 6e 20 63 72 65 | 6e 61 6d 65 20 6f 62 6a |..on cre|name obj| |00004920| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 6e |.put the| short n| |00004930| 61 6d 65 20 6f 66 20 62 | 67 20 62 74 6e 20 69 64 |ame of b|g btn id| |00004940| 20 28 6f 62 6a 29 20 69 | 6e 74 6f 20 6f 6c 64 6e | (obj) i|nto oldn| |00004950| 0d 61 73 6b 20 22 50 6c | 65 61 73 65 20 65 6e 74 |.ask "Pl|ease ent| |00004960| 65 72 20 74 68 65 20 6e | 65 77 20 63 6f 6e 74 65 |er the n|ew conte| |00004970| 6e 74 73 20 6e 61 6d 65 | 3a 22 20 77 69 74 68 20 |nts name|:" with | |00004980| 6f 6c 64 6e 0d 69 66 20 | 69 74 20 ad 20 65 6d 70 |oldn.if |it . emp| |00004990| 74 79 20 74 68 65 6e 0d | 6c 6f 63 6b 20 73 63 72 |ty then.|lock scr| |000049a0| 65 65 6e 0d 70 75 73 68 | 20 63 64 0d 70 75 74 20 |een.push| cd.put | |000049b0| 69 74 20 69 6e 74 6f 20 | 6e 65 77 6e 0d 72 65 70 |it into |newn.rep| |000049c0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t| |000049d0| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of | |000049e0| 62 67 73 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |bgs.set |cursor t| |000049f0| 6f 20 62 75 73 79 0d 67 | 6f 20 62 67 20 69 0d 72 |o busy.g|o bg i.r| |00004a00| 65 70 65 61 74 20 77 69 | 74 68 20 6a 20 3d 20 31 |epeat wi|th j = 1| |00004a10| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o| |00004a20| 66 20 62 67 20 62 74 6e | 73 0d 69 66 20 74 68 65 |f bg btn|s.if the| |00004a30| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 62 | short n|ame of b| |00004a40| 67 20 62 74 6e 20 6a 20 | 3d 20 28 6f 6c 64 6e 29 |g btn j |= (oldn)| |00004a50| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 6e 61 | then.se|t the na| |00004a60| 6d 65 20 6f 66 20 62 67 | 20 62 74 6e 20 6a 20 74 |me of bg| btn j t| |00004a70| 6f 20 28 6e 65 77 6e 29 | 0d 65 6e 64 20 69 66 0d |o (newn)|.end if.| |00004a80| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 72 |end repe|at.end r| |00004a90| 65 70 65 61 74 0d 73 65 | 74 20 63 75 72 73 6f 72 |epeat.se|t cursor| |00004aa0| 20 74 6f 20 31 0d 70 6f | 70 20 63 64 0d 75 6e 6c | to 1.po|p cd.unl| |00004ab0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 65 6e 64 20 69 |ock scre|en.end i| |00004ac0| 66 0d 65 6e 64 20 63 72 | 65 6e 61 6d 65 0d 0d 6f |f.end cr|ename..o| |00004ad0| 6e 20 73 74 72 65 6e 61 | 6d 65 20 6f 6c 64 6e 0d |n strena|me oldn.| |00004ae0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 70 75 73 68 |lock scr|een.push| |00004af0| 20 63 64 0d 70 75 74 20 | 6c 69 6e 65 20 31 20 6f | cd.put |line 1 o| |00004b00| 66 20 66 6c 64 20 22 43 | 68 61 70 74 65 72 22 20 |f fld "C|hapter" | |00004b10| 69 6e 74 6f 20 63 6e 61 | 6d 65 0d 67 6f 20 63 64 |into cna|me.go cd| |00004b20| 20 22 43 6f 6e 74 65 6e | 74 73 20 54 65 6d 70 6c | "Conten|ts Templ| |00004b30| 61 74 65 22 0d 70 75 74 | 20 74 68 65 20 6e 75 6d |ate".put| the num| |00004b40| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of | |00004b50| 63 68 61 72 20 31 20 74 | 6f 20 28 6f 66 66 73 65 |char 1 t|o (offse| |00004b60| 74 28 63 6e 61 6d 65 2c | 66 6c 64 20 63 68 61 70 |t(cname,|fld chap| |00004b70| 6c 69 73 74 29 29 20 6f | 66 c2 0d 66 6c 64 20 63 |list)) o|f..fld c| |00004b80| 68 61 70 6c 69 73 74 20 | 69 6e 74 6f 20 78 0d 69 |haplist |into x.i| |00004b90| 66 20 78 20 3e 20 30 20 | 74 68 65 6e 0d 70 75 74 |f x > 0 |then.put| |00004ba0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l| |00004bb0| 69 6e 65 73 20 6f 66 20 | 63 68 61 72 20 31 20 74 |ines of |char 1 t| |00004bc0| 6f 20 28 6f 66 66 73 65 | 74 28 6f 6c 64 6e 2c 66 |o (offse|t(oldn,f| |00004bd0| 6c 64 20 28 78 29 29 29 | 20 6f 66 20 66 6c 64 20 |ld (x)))| of fld | |00004be0| 28 78 29 c2 0d 69 6e 74 | 6f 20 74 6c 69 6e 65 0d |(x)..int|o tline.| |00004bf0| 72 65 70 65 61 74 20 77 | 68 69 6c 65 20 63 68 61 |repeat w|hile cha| |00004c00| 72 20 31 20 6f 66 20 6c | 69 6e 65 20 28 74 6c 69 |r 1 of l|ine (tli| |00004c10| 6e 65 29 20 6f 66 20 66 | 6c 64 20 28 78 29 20 3d |ne) of f|ld (x) =| |00004c20| 20 22 20 22 0d 70 75 74 | 20 22 20 22 20 62 65 66 | " ".put| " " bef| |00004c30| 6f 72 65 20 6f 6c 64 6e | 0d 64 65 6c 65 74 65 20 |ore oldn|.delete | |00004c40| 63 68 61 72 20 31 20 6f | 66 20 6c 69 6e 65 20 28 |char 1 o|f line (| |00004c50| 74 6c 69 6e 65 29 20 6f | 66 20 66 6c 64 20 28 78 |tline) o|f fld (x| |00004c60| 29 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 73 65 6e |).end re|peat.sen| |00004c70| 64 20 22 73 72 65 6e 61 | 6d 65 22 20 26 26 20 71 |d "srena|me" && q| |00004c80| 75 6f 74 65 20 26 20 6f | 6c 64 6e 20 26 20 71 75 |uote & o|ldn & qu| |00004c90| 6f 74 65 20 26 20 22 2c | 22 20 26 20 78 20 26 20 |ote & ",|" & x & | |00004ca0| 22 2c 22 20 26 20 74 6c | 69 6e 65 20 74 6f c2 0d |"," & tl|ine to..| |00004cb0| 74 68 69 73 20 62 67 0d | 70 6f 70 20 63 64 0d 65 |this bg.|pop cd.e| |00004cc0| 6c 73 65 0d 70 6f 70 20 | 63 64 0d 70 75 73 68 20 |lse.pop |cd.push | |00004cd0| 63 64 0d 72 65 70 65 61 | 74 20 66 6f 72 65 76 65 |cd.repea|t foreve| |00004ce0| 72 0d 61 73 6b 20 22 50 | 6c 65 61 73 65 20 72 65 |r.ask "P|lease re| |00004cf0| 6e 61 6d 65 20 74 68 65 | 20 74 6f 70 69 63 3a 22 |name the| topic:"| |00004d00| 20 77 69 74 68 20 6f 6c | 64 6e 0d 70 75 74 20 69 | with ol|dn.put i| |00004d10| 74 20 69 6e 74 6f 20 79 | 0d 69 66 20 79 20 ad 20 |t into y|.if y . | |00004d20| 22 22 20 61 6e 64 20 79 | 20 ad 20 6f 6c 64 6e 20 |"" and y| . oldn | |00004d30| 74 68 65 6e 0d 69 66 20 | 79 20 3e 20 2d 39 39 39 |then.if |y > -999| |00004d40| 39 39 39 20 61 6e 64 20 | 79 20 3c 20 39 39 39 39 |999 and |y < 9999| |00004d50| 39 39 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |99 then.|answer "| |00004d60| 43 61 6e d5 74 20 75 73 | 65 20 61 20 6e 75 6d 62 |Can.t us|e a numb| |00004d70| 65 72 20 61 73 20 61 20 | 6e 61 6d 65 21 22 0d 65 |er as a |name!".e| |00004d80| 6c 73 65 0d 69 66 20 74 | 6f 70 65 78 69 73 74 73 |lse.if t|opexists| |00004d90| 28 79 29 20 ad 20 22 21 | 21 21 22 20 74 68 65 6e |(y) . "!|!!" then| |00004da0| 0d 69 66 20 74 6f 70 70 | 6f 73 28 29 20 3e 20 31 |.if topp|os() > 1| |00004db0| 20 74 68 65 6e 0d 72 65 | 70 65 61 74 20 28 74 6f | then.re|peat (to| |00004dc0| 70 70 6f 73 28 29 2d 31 | 29 0d 73 65 74 20 63 75 |ppos()-1|).set cu| |00004dd0| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 67 6f 20 |rsor to |busy.go | |00004de0| 70 72 65 76 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |prev.end| repeat.| |00004df0| 65 6e 64 20 69 66 0d 72 | 65 70 65 61 74 20 72 65 |end if.r|epeat re| |00004e00| 70 65 61 74 65 72 28 29 | 0d 73 65 74 20 63 75 72 |peater()|.set cur| |00004e10| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 69 66 20 6c |sor to b|usy.if l| |00004e20| 69 6e 65 20 31 20 6f 66 | 20 66 6c 64 20 73 65 63 |ine 1 of| fld sec| |00004e30| 74 69 6f 6e 20 3d 20 28 | 6f 6c 64 6e 29 20 74 68 |tion = (|oldn) th| |00004e40| 65 6e 20 70 75 74 20 79 | 20 69 6e 74 6f 20 6c 69 |en put y| into li| |00004e50| 6e 65 20 31 20 6f 66 20 | 66 6c 64 20 73 65 63 74 |ne 1 of |fld sect| |00004e60| 69 6f 6e 0d 67 6f 20 6e | 65 78 74 0d 65 6e 64 20 |ion.go n|ext.end | |00004e70| 72 65 70 65 61 74 0d 65 | 78 69 74 20 72 65 70 65 |repeat.e|xit repe| |00004e80| 61 74 0d 65 6c 73 65 0d | 61 6e 73 77 65 72 20 22 |at.else.|answer "| |00004e90| 54 68 61 74 20 6e 61 6d | 65 20 69 73 20 74 61 6b |That nam|e is tak| |00004ea0| 65 6e d1 74 72 79 20 61 | 6e 6f 74 68 65 72 2e 22 |en.try a|nother."| |00004eb0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e| |00004ec0| 6c 73 65 0d 65 78 69 74 | 20 73 74 72 65 6e 61 6d |lse.exit| strenam| |00004ed0| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |e.end if|.end rep| |00004ee0| 65 61 74 0d 70 6f 70 20 | 63 64 0d 65 6e 64 20 69 |eat.pop |cd.end i| |00004ef0| 66 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |f.unlock| screen.| |00004f00| 65 6e 64 20 73 74 72 65 | 6e 61 6d 65 0d 0d 6f 6e |end stre|name..on| |00004f10| 20 67 65 74 68 65 6c 70 | 0d 76 69 73 75 61 6c 20 | gethelp|.visual | |00004f20| 69 72 69 73 20 63 6c 6f | 73 65 20 74 6f 20 62 6c |iris clo|se to bl| |00004f30| 61 63 6b 0d 76 69 73 75 | 61 6c 20 69 72 69 73 20 |ack.visu|al iris | |00004f40| 6f 70 65 6e 0d 67 6f 20 | 62 67 20 22 48 65 6c 70 |open.go |bg "Help| |00004f50| 22 0d 65 6e 64 20 67 65 | 74 68 65 6c 70 0d 0d 66 |".end ge|thelp..f| |00004f60| 75 6e 63 74 69 6f 6e 20 | 63 6c 69 63 6b 6c 69 6e |unction |clicklin| |00004f70| 65 0d 70 75 74 20 28 69 | 74 65 6d 20 32 20 6f 66 |e.put (i|tem 2 of| |00004f80| 20 74 68 65 20 63 6c 69 | 63 6b 6c 6f 63 29 20 69 | the cli|ckloc) i| |00004f90| 6e 74 6f 20 43 4c 0d 70 | 75 74 20 28 69 74 65 6d |nto CL.p|ut (item| |00004fa0| 20 32 20 6f 66 20 74 6f | 70 6c 65 66 74 20 6f 66 | 2 of to|pleft of| |00004fb0| 20 74 68 65 20 74 61 72 | 67 65 74 29 20 69 6e 74 | the tar|get) int| |00004fc0| 6f 20 54 4c 0d 70 75 74 | 20 74 65 78 74 68 65 69 |o TL.put| texthei| |00004fd0| 67 68 74 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |ght of t|he targe| |00004fe0| 74 20 69 6e 74 6f 20 54 | 48 0d 70 75 74 20 74 68 |t into T|H.put th| |00004ff0| 65 20 73 63 72 6f 6c 6c | 20 6f 66 20 74 68 65 20 |e scroll| of the | |00005000| 74 61 72 67 65 74 20 69 | 6e 74 6f 20 53 43 52 0d |target i|nto SCR.| |00005010| 72 65 74 75 72 6e 20 28 | 28 53 43 52 20 64 69 76 |return (|(SCR div| |00005020| 20 54 48 29 20 2b 20 28 | 28 43 4c 20 2d 20 54 4c | TH) + (|(CL - TL| |00005030| 29 20 64 69 76 20 54 48 | 20 2b 20 31 29 29 0d 65 |) div TH| + 1)).e| |00005040| 6e 64 20 63 6c 69 63 6b | 6c 69 6e 65 0d 0d 66 75 |nd click|line..fu| |00005050| 6e 63 74 69 6f 6e 20 67 | 65 74 63 6e 61 6d 65 20 |nction g|etcname | |00005060| 78 0d 69 66 20 63 68 61 | 72 20 31 20 6f 66 20 78 |x.if cha|r 1 of x| |00005070| 20 3d 20 64 65 6c 6d 61 | 72 6b 28 29 20 74 68 65 | = delma|rk() the| |00005080| 6e 0d 64 65 6c 65 74 65 | 20 63 68 61 72 20 31 20 |n.delete| char 1 | |00005090| 6f 66 20 78 0d 65 6e 64 | 20 69 66 0d 69 66 20 63 |of x.end| if.if c| |000050a0| 68 61 72 20 31 20 6f 66 | 20 78 20 3d 20 22 20 22 |har 1 of| x = " "| |000050b0| 20 74 68 65 6e 0d 70 75 | 74 20 73 74 72 69 70 53 | then.pu|t stripS| |000050c0| 70 61 63 65 28 78 29 20 | 69 6e 74 6f 20 78 0d 65 |pace(x) |into x.e| |000050d0| 6e 64 20 69 66 0d 72 65 | 74 75 72 6e 20 63 68 61 |nd if.re|turn cha| |000050e0| 72 20 31 20 74 6f 20 32 | 35 20 6f 66 20 78 0d 65 |r 1 to 2|5 of x.e| |000050f0| 6e 64 20 67 65 74 63 6e | 61 6d 65 0d 0d 66 75 6e |nd getcn|ame..fun| |00005100| 63 74 69 6f 6e 20 64 65 | 6c 6d 61 72 6b 0d 72 65 |ction de|lmark.re| |00005110| 74 75 72 6e 20 22 2a 22 | 0d 65 6e 64 20 64 65 6c |turn "*"|.end del| |00005120| 6d 61 72 6b 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 72 |mark..fu|nction r| |00005130| 65 70 65 61 74 65 72 0d | 67 65 74 20 6c 61 73 74 |epeater.|get last| |00005140| 20 77 6f 72 64 20 6f 66 | 20 66 6c 64 20 22 43 6f | word of| fld "Co| |00005150| 6e 74 69 6e 75 65 64 22 | 0d 69 66 20 69 74 20 3e |ntinued"|.if it >| |00005160| 20 30 20 61 6e 64 20 69 | 74 20 3c 20 39 39 39 20 | 0 and i|t < 999 | |00005170| 74 68 65 6e 0d 72 65 74 | 75 72 6e 20 69 74 0d 65 |then.ret|urn it.e| |00005180| 6c 73 65 0d 72 65 74 75 | 72 6e 20 31 0d 65 6e 64 |lse.retu|rn 1.end| |00005190| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 65 72 | if.end |repeater| |000051a0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 73 74 72 69 70 |..functi|on strip| |000051b0| 53 70 61 63 65 20 78 0d | 72 65 70 65 61 74 20 77 |Space x.|repeat w| |000051c0| 68 69 6c 65 20 63 68 61 | 72 20 31 20 6f 66 20 78 |hile cha|r 1 of x| |000051d0| 20 3d 20 22 20 22 0d 64 | 65 6c 65 74 65 20 63 68 | = " ".d|elete ch| |000051e0| 61 72 20 31 20 6f 66 20 | 78 0d 65 6e 64 20 72 65 |ar 1 of |x.end re| |000051f0| 70 65 61 74 0d 72 65 74 | 75 72 6e 20 78 0d 65 6e |peat.ret|urn x.en| |00005200| 64 20 73 74 72 69 70 53 | 70 61 63 65 0d 0d 66 75 |d stripS|pace..fu| |00005210| 6e 63 74 69 6f 6e 20 74 | 6f 70 70 6f 73 0d 67 65 |nction t|oppos.ge| |00005220| 74 20 77 6f 72 64 20 31 | 20 6f 66 20 66 6c 64 20 |t word 1| of fld | |00005230| 22 43 6f 6e 74 69 6e 75 | 65 64 22 0d 69 66 20 69 |"Continu|ed".if i| |00005240| 74 20 3e 20 30 20 61 6e | 64 20 69 74 20 3c 20 39 |t > 0 an|d it < 9| |00005250| 39 39 20 74 68 65 6e 0d | 72 65 74 75 72 6e 20 69 |99 then.|return i| |00005260| 74 0d 65 6c 73 65 0d 72 | 65 74 75 72 6e 20 31 0d |t.else.r|eturn 1.| |00005270| 65 6e 64 20 69 66 0d 65 | 6e 64 20 74 6f 70 70 6f |end if.e|nd toppo| |00005280| 73 0d 0d 6f 6e 20 6d 6b | 63 6c 69 63 6b 61 62 6c |s..on mk|clickabl| |00005290| 65 20 74 79 70 65 0d 69 | 66 20 74 79 70 65 20 ad |e type.i|f type .| |000052a0| 20 22 22 20 74 68 65 6e | 0d 70 75 74 20 22 4f 4b | "" then|.put "OK| |000052b0| 22 20 69 6e 74 6f 20 69 | 74 0d 65 6c 73 65 0d 69 |" into i|t.else.i| |000052c0| 66 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |f the sh|ort name| |000052d0| 20 6f 66 20 74 68 69 73 | 20 63 64 20 3d 20 28 28 | of this| cd = ((| |000052e0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o| |000052f0| 66 20 74 68 69 73 20 62 | 67 29 20 26 26 c2 0d 22 |f this b|g) &&.."| |00005300| 54 65 6d 70 6c 61 74 65 | 22 29 20 74 68 65 6e 0d |Template|") then.| |00005310| 61 6e 73 77 65 72 20 22 | 50 6c 65 61 73 65 20 64 |answer "|Please d| |00005320| 6f 20 6e 6f 74 20 61 6c | 74 65 72 20 74 68 69 73 |o not al|ter this| |00005330| 20 74 65 6d 70 6c 61 74 | 65 20 63 61 72 64 2e 22 | templat|e card."| |00005340| 0d 65 78 69 74 20 6d 6b | 63 6c 69 63 6b 61 62 6c |.exit mk|clickabl| |00005350| 65 0d 65 6e 64 20 69 66 | 0d 69 66 20 66 6c 64 20 |e.end if|.if fld | |00005360| 22 43 6c 69 63 6b 61 62 | 6c 65 3f 22 20 69 73 20 |"Clickab|le?" is | |00005370| 22 43 6c 69 63 6b 22 20 | 74 68 65 6e 0d 70 75 74 |"Click" |then.put| |00005380| 20 22 4e 6f 74 43 6c 22 | 20 69 6e 74 6f 20 74 79 | "NotCl"| into ty| |00005390| 70 65 0d 61 6e 73 77 65 | 72 20 22 4d 61 6b 65 20 |pe.answe|r "Make | |000053a0| 74 68 69 73 20 63 61 72 | 64 20 6e 6f 6e 2d 63 6c |this car|d non-cl| |000053b0| 69 63 6b 61 62 6c 65 3f | 22 20 77 69 74 68 20 22 |ickable?|" with "| |000053c0| 4f 4b 22 20 6f 72 20 22 | 43 61 6e 63 65 6c 22 0d |OK" or "|Cancel".| |000053d0| 65 6c 73 65 0d 70 75 74 | 20 22 43 6c 69 63 6b 22 |else.put| "Click"| |000053e0| 20 69 6e 74 6f 20 74 79 | 70 65 0d 61 6e 73 77 65 | into ty|pe.answe| |000053f0| 72 20 22 4d 61 6b 65 20 | 74 68 69 73 20 63 61 72 |r "Make |this car| |00005400| 64 20 63 6c 69 63 6b 61 | 62 6c 65 3f 22 20 77 69 |d clicka|ble?" wi| |00005410| 74 68 20 22 4f 4b 22 20 | 6f 72 20 22 43 61 6e 63 |th "OK" |or "Canc| |00005420| 65 6c 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |el".end |if.end i| |00005430| 66 0d 69 66 20 69 74 20 | 69 73 20 22 4f 4b 22 20 |f.if it |is "OK" | |00005440| 74 68 65 6e 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |then.loc|k screen| |00005450| 0d 69 66 20 74 79 70 65 | 20 3d 20 22 43 6c 69 63 |.if type| = "Clic| |00005460| 6b 22 20 61 6e 64 20 74 | 68 65 20 6e 75 6d 62 65 |k" and t|he numbe| |00005470| 72 20 6f 66 20 62 74 6e | 73 20 3c 20 31 36 20 74 |r of btn|s < 16 t| |00005480| 68 65 6e 0d 70 75 74 20 | 74 68 65 20 73 68 6f 72 |hen.put |the shor| |00005490| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 62 |t name o|f this b| |000054a0| 67 20 26 26 20 22 54 65 | 6d 70 6c 61 74 65 22 20 |g && "Te|mplate" | |000054b0| 69 6e 74 6f 20 63 6e 0d | 70 75 73 68 20 63 64 0d |into cn.|push cd.| |000054c0| 67 6f 20 63 61 72 64 20 | 28 63 6e 29 0d 73 65 74 |go card |(cn).set| |000054d0| 20 75 73 65 72 6c 65 76 | 65 6c 20 74 6f 20 35 0d | userlev|el to 5.| |000054e0| 73 65 6c 65 63 74 20 62 | 74 6e 20 31 0d 64 6f 4d |select b|tn 1.doM| |000054f0| 65 6e 75 20 22 43 6f 70 | 79 20 42 75 74 74 6f 6e |enu "Cop|y Button| |00005500| 22 0d 70 6f 70 20 63 64 | 0d 72 65 70 65 61 74 20 |".pop cd|.repeat | |00005510| 31 36 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |16.set c|ursor to| |00005520| 20 62 75 73 79 0d 64 6f | 4d 65 6e 75 20 22 50 61 | busy.do|Menu "Pa| |00005530| 73 74 65 20 42 75 74 74 | 6f 6e 22 0d 65 6e 64 20 |ste Butt|on".end | |00005540| 72 65 70 65 61 74 0d 72 | 65 70 65 61 74 20 77 69 |repeat.r|epeat wi| |00005550| 74 68 20 69 20 3d 20 32 | 20 74 6f 20 31 36 0d 73 |th i = 2| to 16.s| |00005560| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus| |00005570| 79 0d 73 65 74 20 74 68 | 65 20 72 65 63 74 20 6f |y.set th|e rect o| |00005580| 66 20 62 74 6e 20 69 20 | 74 6f 20 64 65 66 61 75 |f btn i |to defau| |00005590| 6c 74 70 6f 73 28 69 29 | 0d 73 65 74 20 74 68 65 |ltpos(i)|.set the| |000055a0| 20 6e 61 6d 65 20 6f 66 | 20 62 74 6e 20 69 20 74 | name of| btn i t| |000055b0| 6f 20 28 69 29 0d 73 65 | 74 20 74 68 65 20 69 63 |o (i).se|t the ic| |000055c0| 6f 6e 20 6f 66 20 62 74 | 6e 20 69 20 74 6f 20 36 |on of bt|n i to 6| |000055d0| 30 30 30 0d 73 65 74 20 | 74 68 65 20 68 69 6c 69 |000.set |the hili| |000055e0| 74 65 20 6f 66 20 62 74 | 6e 20 69 20 74 6f 20 66 |te of bt|n i to f| |000055f0| 61 6c 73 65 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |alse.end| repeat.| |00005600| 69 66 20 66 6c 64 20 37 | 20 ad 20 22 22 20 74 68 |if fld 7| . "" th| |00005610| 65 6e 0d 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 |en.set t|he icon | |00005620| 6f 66 20 62 74 6e 20 31 | 20 74 6f 20 36 30 30 31 |of btn 1| to 6001| |00005630| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 31 20 69 6e |.end if.|put 1 in| |00005640| 74 6f 20 6c 69 6e 65 20 | 31 20 6f 66 20 66 6c 64 |to line |1 of fld| |00005650| 20 22 53 74 61 74 75 73 | 22 0d 65 6c 73 65 0d 72 | "Status|".else.r| |00005660| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1| |00005670| 20 74 6f 20 31 36 0d 73 | 68 6f 77 20 62 74 6e 20 | to 16.s|how btn | |00005680| 69 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 73 65 6e |i.end re|peat.sen| |00005690| 64 20 22 63 6c 69 63 6b | 48 4c 20 31 22 20 74 6f |d "click|HL 1" to| |000056a0| 20 74 68 69 73 20 62 67 | 0d 69 66 20 74 68 65 20 | this bg|.if the | |000056b0| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines | |000056c0| 6f 66 20 66 6c 64 20 22 | 53 74 61 74 75 73 22 20 |of fld "|Status" | |000056d0| 3e 20 34 20 74 68 65 6e | 0d 70 75 74 20 22 22 20 |> 4 then|.put "" | |000056e0| 69 6e 74 6f 20 6c 69 6e | 65 20 35 20 74 6f 20 28 |into lin|e 5 to (| |000056f0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li| |00005700| 6e 65 73 20 6f 66 20 66 | 6c 64 20 22 53 74 61 74 |nes of f|ld "Stat| |00005710| 75 73 22 29 c2 0d 6f 66 | 20 66 6c 64 20 22 53 74 |us")..of| fld "St| |00005720| 61 74 75 73 22 0d 65 6e | 64 20 69 66 0d 72 65 70 |atus".en|d if.rep| |00005730| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 36 20 |eat with| i = 16 | |00005740| 64 6f 77 6e 20 74 6f 20 | 31 0d 73 65 74 20 63 75 |down to |1.set cu| |00005750| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 73 65 6c |rsor to |busy.sel| |00005760| 65 63 74 20 62 74 6e 20 | 69 0d 64 6f 4d 65 6e 75 |ect btn |i.doMenu| |00005770| 20 22 43 6c 65 61 72 20 | 42 75 74 74 6f 6e 22 0d | "Clear |Button".| |00005780| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i| |00005790| 66 0d 70 75 74 20 74 79 | 70 65 20 69 6e 74 6f 20 |f.put ty|pe into | |000057a0| 66 6c 64 20 22 43 6c 69 | 63 6b 61 62 6c 65 3f 22 |fld "Cli|ckable?"| |000057b0| 0d 63 68 6f 6f 73 65 20 | 74 6f 6f 6c 20 31 0d 75 |.choose |tool 1.u| |000057c0| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit| |000057d0| 68 20 76 69 73 75 61 6c | 20 77 69 70 65 20 64 6f |h visual| wipe do| |000057e0| 77 6e 20 73 6c 6f 77 0d | 65 6e 64 20 69 66 0d 73 |wn slow.|end if.s| |000057f0| 65 74 20 75 73 65 72 6c | 65 76 65 6c 20 74 6f 20 |et userl|evel to | |00005800| 34 0d 65 6e 64 20 6d 6b | 63 6c 69 63 6b 61 62 6c |4.end mk|clickabl| |00005810| 65 0d 0d 6f 6e 20 72 65 | 50 6f 73 20 78 0d 69 66 |e..on re|Pos x.if| |00005820| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 4b 65 79 20 | the com|mandKey | |00005830| 69 73 20 64 6f 77 6e 20 | 74 68 65 6e 0d 73 65 74 |is down |then.set| |00005840| 20 63 75 72 73 6f 72 20 | 74 6f 20 61 72 72 6f 77 | cursor |to arrow| |00005850| 0d 73 65 74 20 74 68 65 | 20 73 74 79 6c 65 20 6f |.set the| style o| |00005860| 66 20 62 74 6e 20 28 78 | 29 20 74 6f 20 72 65 63 |f btn (x|) to rec| |00005870| 74 61 6e 67 6c 65 0d 69 | 66 20 74 68 65 20 73 68 |tangle.i|f the sh| |00005880| 69 66 74 4b 65 79 20 69 | 73 20 64 6f 77 6e 20 74 |iftKey i|s down t| |00005890| 68 65 6e 0d 70 75 74 20 | 74 68 65 20 74 6f 70 6c |hen.put |the topl| |000058a0| 65 66 74 20 6f 66 20 62 | 74 6e 20 28 78 29 20 69 |eft of b|tn (x) i| |000058b0| 6e 74 6f 20 79 0d 69 66 | 20 28 69 74 65 6d 20 31 |nto y.if| (item 1| |000058c0| 20 6f 66 20 74 68 65 20 | 6d 6f 75 73 65 4c 6f 63 | of the |mouseLoc| |000058d0| 29 20 3e 20 28 69 74 65 | 6d 20 31 20 6f 66 20 79 |) > (ite|m 1 of y| |000058e0| 29 20 2b 20 37 20 61 6e | 64 20 c2 0d 28 69 74 65 |) + 7 an|d ..(ite| |000058f0| 6d 20 32 20 6f 66 20 74 | 68 65 20 6d 6f 75 73 65 |m 2 of t|he mouse| |00005900| 4c 6f 63 29 20 3e 20 28 | 69 74 65 6d 20 32 20 6f |Loc) > (|item 2 o| |00005910| 66 20 79 29 20 2b 20 37 | 20 74 68 65 6e 0d 70 75 |f y) + 7| then.pu| |00005920| 74 20 28 69 74 65 6d 20 | 31 20 6f 66 20 74 68 65 |t (item |1 of the| |00005930| 20 6d 6f 75 73 65 4c 6f | 63 29 20 2b 20 31 20 69 | mouseLo|c) + 1 i| |00005940| 6e 74 6f 20 69 74 65 6d | 20 33 20 6f 66 20 79 0d |nto item| 3 of y.| |00005950| 70 75 74 20 28 69 74 65 | 6d 20 32 20 6f 66 20 74 |put (ite|m 2 of t| |00005960| 68 65 20 6d 6f 75 73 65 | 4c 6f 63 29 20 2b 20 31 |he mouse|Loc) + 1| |00005970| 20 69 6e 74 6f 20 69 74 | 65 6d 20 34 20 6f 66 20 | into it|em 4 of | |00005980| 79 0d 73 65 74 20 74 68 | 65 20 72 65 63 74 20 6f |y.set th|e rect o| |00005990| 66 20 62 74 6e 20 28 78 | 29 20 74 6f 20 28 79 29 |f btn (x|) to (y)| |000059a0| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 73 65 74 |.end if.|else.set| |000059b0| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 62 74 6e 20 | the loc| of btn | |000059c0| 28 78 29 20 74 6f 20 74 | 68 65 20 6d 6f 75 73 65 |(x) to t|he mouse| |000059d0| 4c 6f 63 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |Loc.end |if.end i| |000059e0| 66 0d 65 6e 64 20 72 65 | 50 6f 73 0d 0d 6f 6e 20 |f.end re|Pos..on | |000059f0| 74 6f 67 50 6f 73 20 78 | 0d 69 66 20 74 68 65 20 |togPos x|.if the | |00005a00| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines | |00005a10| 6f 66 20 66 6c 64 20 73 | 74 61 74 75 73 20 3e 20 |of fld s|tatus > | |00005a20| 34 20 74 68 65 6e 0d 72 | 65 70 65 61 74 20 77 69 |4 then.r|epeat wi| |00005a30| 74 68 20 69 20 3d 20 35 | 20 74 6f 20 74 68 65 20 |th i = 5| to the | |00005a40| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines | |00005a50| 6f 66 20 66 6c 64 20 73 | 74 61 74 75 73 0d 69 66 |of fld s|tatus.if| |00005a60| 20 6c 69 6e 65 20 28 69 | 29 20 6f 66 20 66 6c 64 | line (i|) of fld| |00005a70| 20 73 74 61 74 75 73 20 | ad 20 22 22 20 74 68 65 | status |. "" the| |00005a80| 6e 0d 69 66 20 78 20 3d | 20 74 72 75 65 20 74 68 |n.if x =| true th| |00005a90| 65 6e 0d 73 65 74 20 74 | 68 65 20 72 65 63 74 20 |en.set t|he rect | |00005aa0| 6f 66 20 62 74 6e 20 28 | 69 2d 34 29 20 74 6f 20 |of btn (|i-4) to | |00005ab0| 28 6c 69 6e 65 20 28 69 | 29 20 6f 66 20 66 6c 64 |(line (i|) of fld| |00005ac0| 20 73 74 61 74 75 73 29 | 0d 65 6c 73 65 0d 73 65 | status)|.else.se| |00005ad0| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 62 74 |t the re|ct of bt| |00005ae0| 6e 20 28 69 2d 34 29 20 | 74 6f 20 64 65 66 61 75 |n (i-4) |to defau| |00005af0| 6c 74 70 6f 73 28 69 2d | 34 29 0d 65 6e 64 20 69 |ltpos(i-|4).end i| |00005b00| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |f.end if|.end rep| |00005b10| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 74 |eat.end |if.end t| |00005b20| 6f 67 50 6f 73 0d 0d 6f | 6e 20 64 6f 62 74 6e 20 |ogPos..o|n dobtn | |00005b30| 78 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |x.repeat| with i | |00005b40| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe| |00005b50| 72 20 6f 66 20 62 74 6e | 73 0d 73 65 74 20 74 68 |r of btn|s.set th| |00005b60| 65 20 76 69 73 69 62 6c | 65 20 6f 66 20 62 74 6e |e visibl|e of btn| |00005b70| 20 69 20 74 6f 20 78 0d | 65 6e 64 20 72 65 70 65 | i to x.|end repe| |00005b80| 61 74 0d 65 6e 64 20 64 | 6f 62 74 6e 0d 0d 66 75 |at.end d|obtn..fu| |00005b90| 6e 63 74 69 6f 6e 20 63 | 6f 6e 74 74 65 78 74 20 |nction c|onttext | |00005ba0| 78 2c 79 0d 72 65 74 75 | 72 6e 20 78 20 26 26 20 |x,y.retu|rn x && | |00005bb0| 22 6f 66 22 20 26 26 20 | 79 0d 65 6e 64 20 63 6f |"of" && |y.end co| |00005bc0| 6e 74 74 65 78 74 0d 0d | 66 75 6e 63 74 69 6f 6e |nttext..|function| |00005bd0| 20 67 65 74 61 72 74 66 | 69 6c 65 0d 69 66 20 74 | getartf|ile.if t| |00005be0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of| |00005bf0| 20 74 68 69 73 20 63 64 | 20 3d 20 28 74 68 65 20 | this cd| = (the | |00005c00| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th| |00005c10| 69 73 20 62 67 20 26 26 | c2 0d 22 54 65 6d 70 6c |is bg &&|.."Templ| |00005c20| 61 74 65 22 29 20 74 68 | 65 6e 0d 72 65 74 75 72 |ate") th|en.retur| |00005c30| 6e 20 22 2a 2a 2a 22 0d | 65 6c 73 65 0d 69 66 20 |n "***".|else.if | |00005c40| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o| |00005c50| 66 20 74 68 69 73 20 62 | 67 20 3d 20 22 54 4f 43 |f this b|g = "TOC| |00005c60| 22 20 74 68 65 6e 0d 72 | 65 74 75 72 6e 20 22 22 |" then.r|eturn ""| |00005c70| 0d 65 6c 73 65 0d 72 65 | 74 75 72 6e 20 6c 69 6e |.else.re|turn lin| |00005c80| 65 20 31 20 6f 66 20 66 | 6c 64 20 22 61 72 74 46 |e 1 of f|ld "artF| |00005c90| 69 6c 65 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |ile".end| if.end | |00005ca0| 69 66 0d 65 6e 64 20 67 | 65 74 61 72 74 66 69 6c |if.end g|etartfil| |00005cb0| 65 0d 0d 6f 6e 20 62 72 | 65 6e 61 6d 65 20 6f 6c |e..on br|ename ol| |00005cc0| 64 6e 2c 62 69 64 0d 70 | 75 74 20 77 6f 72 64 20 |dn,bid.p|ut word | |00005cd0| 33 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |3 to the| number | |00005ce0| 6f 66 20 77 6f 72 64 73 | 20 6f 66 20 6f 6c 64 6e |of words| of oldn| |00005cf0| 20 6f 66 20 6f 6c 64 6e | 20 69 6e 74 6f 20 78 0d | of oldn| into x.| |00005d00| 70 75 74 20 28 77 6f 72 | 64 20 31 20 74 6f 20 32 |put (wor|d 1 to 2| |00005d10| 20 6f 66 20 6f 6c 64 6e | 29 20 26 26 20 22 69 64 | of oldn|) && "id| |00005d20| 22 20 26 26 20 62 69 64 | 20 69 6e 74 6f 20 79 0d |" && bid| into y.| |00005d30| 61 73 6b 20 22 50 6c 65 | 61 73 65 20 65 6e 74 65 |ask "Ple|ase ente| |00005d40| 72 20 6e 65 77 20 74 65 | 78 74 20 66 6f 72 20 74 |r new te|xt for t| |00005d50| 68 69 73 20 62 75 74 74 | 6f 6e 3a 22 20 77 69 74 |his butt|on:" wit| |00005d60| 68 20 63 68 61 72 20 32 | 20 74 6f c2 0d 28 6c 65 |h char 2| to..(le| |00005d70| 6e 67 74 68 28 78 29 2d | 31 29 20 6f 66 20 78 0d |ngth(x)-|1) of x.| |00005d80| 69 66 20 69 74 20 ad 20 | 22 22 20 74 68 65 6e 0d |if it . |"" then.| |00005d90| 73 65 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |set the |name of | |00005da0| 28 79 29 20 74 6f 20 69 | 74 0d 65 6e 64 20 69 66 |(y) to i|t.end if| |00005db0| 0d 65 6e 64 20 62 72 65 | 6e 61 6d 65 0d 0d 6f 6e |.end bre|name..on| |00005dc0| 20 65 72 72 6f 72 20 78 | 0d 69 66 20 78 20 69 73 | error x|.if x is| |00005dd0| 20 22 6d 63 22 20 74 68 | 65 6e 0d 61 6e 73 77 65 | "mc" th|en.answe| |00005de0| 72 20 22 53 6f 72 72 79 | 2c 20 63 61 6e d5 74 20 |r "Sorry|, can.t | |00005df0| 66 69 6e 64 20 74 68 61 | 74 20 63 61 72 64 21 22 |find tha|t card!"| |00005e00| 0d 65 6c 73 65 0d 61 6e | 73 77 65 72 20 22 53 6f |.else.an|swer "So| |00005e10| 72 72 79 2c 20 65 72 72 | 6f 72 20 63 6f 64 65 22 |rry, err|or code"| |00005e20| 20 26 26 20 71 75 6f 74 | 65 20 26 20 78 20 26 26 | && quot|e & x &&| |00005e30| 20 22 21 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 | "!".end| if.end | |00005e40| 65 72 72 6f 72 0d 0d 6f | 6e 20 6e 6f 74 64 6f 6e |error..o|n notdon| |00005e50| 65 0d 61 6e 73 77 65 72 | 20 22 53 6f 72 72 79 2c |e.answer| "Sorry,| |00005e60| 20 74 68 61 74 20 66 65 | 61 74 75 72 65 20 69 73 | that fe|ature is| |00005e70| 20 6e 6f 74 20 79 65 74 | 20 69 6d 70 6c 65 6d 65 | not yet| impleme| |00005e80| 6e 74 65 64 2e 22 0d 65 | 6e 64 20 6e 6f 74 64 6f |nted.".e|nd notdo| |00005e90| 6e 65 0d 0d 6f 6e 20 6f | 70 65 6e 53 74 61 63 6b |ne..on o|penStack| |00005ea0| 0d 67 6c 6f 62 61 6c 20 | 73 65 63 75 72 69 74 79 |.global |security| |00005eb0| 0d 70 75 73 68 20 63 64 | 0d 73 65 74 20 75 73 65 |.push cd|.set use| |00005ec0| 72 6c 65 76 65 6c 20 74 | 6f 20 34 0d 70 61 73 73 |rlevel t|o 4.pass| |00005ed0| 20 6f 70 65 6e 53 74 61 | 63 6b 0d 70 75 74 20 22 | openSta|ck.put "| |00005ee0| 2a 22 20 69 6e 74 6f 20 | 73 65 63 75 72 69 74 79 |*" into |security| |00005ef0| 0d 65 6e 64 20 6f 70 65 | 6e 53 74 61 63 6b 0d 0d |.end ope|nStack..| |00005f00| 6f 6e 20 63 6c 6f 73 65 | 53 74 61 63 6b 0d 69 66 |on close|Stack.if| |00005f10| 20 74 68 65 20 73 68 69 | 66 74 4b 65 79 20 69 73 | the shi|ftKey is| |00005f20| 20 75 70 20 74 68 65 6e | 0d 67 6f 20 63 64 20 22 | up then|.go cd "| |00005f30| 43 6f 6e 74 65 6e 74 73 | 20 54 65 6d 70 6c 61 74 |Contents| Templat| |00005f40| 65 22 0d 69 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 |e".if li|ne 1 of | |00005f50| 66 6c 64 20 22 63 64 69 | 6e 66 6f 22 20 3d 20 22 |fld "cdi|nfo" = "| |00005f60| 63 68 61 6e 67 65 64 22 | 20 74 68 65 6e 0d 61 6e |changed"| then.an| |00005f70| 73 77 65 72 20 22 55 70 | 64 61 74 65 20 73 74 61 |swer "Up|date sta| |00005f80| 63 6b 20 74 6f 20 6d 61 | 74 63 68 20 6e 65 77 20 |ck to ma|tch new | |00005f90| 54 4f 43 3f 22 20 77 69 | 74 68 c2 0d 22 59 65 73 |TOC?" wi|th.."Yes| |00005fa0| 22 20 6f 72 20 22 4e 6f | 22 0d 69 66 20 69 74 20 |" or "No|".if it | |00005fb0| 69 73 20 22 59 65 73 22 | 20 74 68 65 6e 0d 69 66 |is "Yes"| then.if| |00005fc0| 20 63 68 6b 64 65 6c 65 | 74 65 73 28 29 20 3d 20 | chkdele|tes() = | |00005fd0| 22 74 72 75 65 22 20 74 | 68 65 6e 0d 73 65 6e 64 |"true" t|hen.send| |00005fe0| 20 64 6f 64 65 6c 65 74 | 65 73 20 74 6f 20 62 67 | dodelet|es to bg| |00005ff0| 20 22 54 4f 43 22 0d 70 | 75 74 20 65 6d 70 74 79 | "TOC".p|ut empty| |00006000| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 31 20 6f 66 20 | into li|ne 1 of | |00006010| 66 6c 64 20 22 63 64 69 | 6e 66 6f 22 0d 65 6e 64 |fld "cdi|nfo".end| |00006020| 20 69 66 0d 69 66 20 6c | 69 6e 65 20 33 20 6f 66 | if.if l|ine 3 of| |00006030| 20 66 6c 64 20 22 63 64 | 69 6e 66 6f 22 20 3d 20 | fld "cd|info" = | |00006040| 22 72 65 6f 72 64 65 72 | 65 64 22 20 74 68 65 6e |"reorder|ed" then| |00006050| 0d 73 65 6e 64 20 73 68 | 75 66 66 6c 65 20 74 6f |.send sh|uffle to| |00006060| 20 62 67 20 22 54 4f 43 | 22 0d 70 75 74 20 65 6d | bg "TOC|".put em| |00006070| 70 74 79 20 69 6e 74 6f | 20 6c 69 6e 65 20 31 20 |pty into| line 1 | |00006080| 6f 66 20 66 6c 64 20 22 | 63 64 69 6e 66 6f 22 0d |of fld "|cdinfo".| |00006090| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 6c 69 6e 65 |put "" i|nto line| |000060a0| 20 33 20 6f 66 20 66 6c | 64 20 22 63 64 69 6e 66 | 3 of fl|d "cdinf| |000060b0| 6f 22 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |o".end i|f.end if| |000060c0| 0d 65 6e 64 20 69 66 0d | 69 66 20 66 72 65 65 73 |.end if.|if frees| |000060d0| 69 7a 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ize of t|his stac| |000060e0| 6b 20 3e 20 31 30 30 30 | 30 20 74 68 65 6e 0d 70 |k > 1000|0 then.p| |000060f0| 75 74 20 22 43 6f 6d 70 | 61 63 74 69 6e 67 20 73 |ut "Comp|acting s| |00006100| 74 61 63 6b 2e 2e 2e 22 | 0d 64 6f 4d 65 6e 75 20 |tack..."|.doMenu | |00006110| 22 43 6f 6d 70 61 63 74 | 20 53 74 61 63 6b 22 0d |"Compact| Stack".| |00006120| 65 6e 64 20 69 66 0d 68 | 69 64 65 20 6d 73 67 0d |end if.h|ide msg.| |00006130| 65 6e 64 20 69 66 0d 70 | 61 73 73 20 63 6c 6f 73 |end if.p|ass clos| |00006140| 65 53 74 61 63 6b 0d 65 | 6e 64 20 63 6c 6f 73 65 |eStack.e|nd close| |00006150| 53 74 61 63 6b 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |Stack..f|unction | |00006160| 74 6f 70 65 78 69 73 74 | 73 20 79 0d 6c 6f 63 6b |topexist|s y.lock| |00006170| 20 73 63 72 65 65 6e 0d | 70 75 74 20 67 65 74 63 | screen.|put getc| |00006180| 6e 61 6d 65 28 79 29 20 | 69 6e 74 6f 20 7a 0d 67 |name(y) |into z.g| |00006190| 6f 20 63 64 20 28 7a 29 | 0d 69 66 20 74 68 65 20 |o cd (z)|.if the | |000061a0| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th| |000061b0| 69 73 20 63 64 20 3d 20 | 28 7a 29 20 74 68 65 6e |is cd = |(z) then| |000061c0| 0d 67 6f 20 62 61 63 6b | 0d 72 65 74 75 72 6e 20 |.go back|.return | |000061d0| 22 21 21 21 22 0d 65 6c | 73 65 0d 72 65 74 75 72 |"!!!".el|se.retur| |000061e0| 6e 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |n the sh|ort name| |000061f0| 20 6f 66 20 74 68 69 73 | 20 63 64 0d 65 6e 64 20 | of this| cd.end | |00006200| 69 66 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |if.unloc|k screen| |00006210| 0d 65 6e 64 20 74 6f 70 | 65 78 69 73 74 73 0d 0d |.end top|exists..| |00006220| 66 75 6e 63 74 69 6f 6e | 20 63 68 6b 64 65 6c 65 |function| chkdele| |00006230| 74 65 73 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |tes.repe|at with | |00006240| 69 20 3d 20 31 20 74 6f | 20 74 68 65 20 6e 75 6d |i = 1 to| the num| |00006250| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of | |00006260| 66 6c 64 20 22 63 68 61 | 70 6c 69 73 74 22 0d 69 |fld "cha|plist".i| |00006270| 66 20 63 68 61 72 20 31 | 20 6f 66 20 6c 69 6e 65 |f char 1| of line| |00006280| 20 69 20 6f 66 20 66 6c | 64 20 22 63 68 61 70 6c | i of fl|d "chapl| |00006290| 69 73 74 22 20 3d 20 64 | 65 6c 6d 61 72 6b 28 29 |ist" = d|elmark()| |000062a0| 20 74 68 65 6e 0d 72 65 | 74 75 72 6e 20 22 74 72 | then.re|turn "tr| |000062b0| 75 65 22 0d 65 78 69 74 | 20 63 68 6b 64 65 6c 65 |ue".exit| chkdele| |000062c0| 74 65 73 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |tes.end |if.end r| |000062d0| 65 70 65 61 74 0d 72 65 | 70 65 61 74 20 77 69 74 |epeat.re|peat wit| |000062e0| 68 20 69 20 3d 20 31 20 | 74 6f 20 31 32 0d 69 66 |h i = 1 |to 12.if| |000062f0| 20 66 6c 64 20 69 20 ad | 20 22 22 20 74 68 65 6e | fld i .| "" then| |00006300| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 6a 20 3d |.repeat |with j =| |00006310| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number| |00006320| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 66 6c 64 | of line|s of fld| |00006330| 20 69 0d 69 66 20 63 68 | 61 72 20 31 20 6f 66 20 | i.if ch|ar 1 of | |00006340| 6c 69 6e 65 20 6a 20 6f | 66 20 66 6c 64 20 69 20 |line j o|f fld i | |00006350| 3d 20 64 65 6c 6d 61 72 | 6b 28 29 20 74 68 65 6e |= delmar|k() then| |00006360| 0d 72 65 74 75 72 6e 20 | 22 74 72 75 65 22 0d 65 |.return |"true".e| |00006370| 78 69 74 20 63 68 6b 64 | 65 6c 65 74 65 73 0d 65 |xit chkd|eletes.e| |00006380| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat| |00006390| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe| |000063a0| 61 74 0d 69 66 20 6c 69 | 6e 65 20 33 20 6f 66 20 |at.if li|ne 3 of | |000063b0| 66 6c 64 20 22 63 64 69 | 6e 66 6f 22 20 ad 20 22 |fld "cdi|nfo" . "| |000063c0| 72 65 6f 72 64 65 72 65 | 64 22 20 74 68 65 6e 0d |reordere|d" then.| |000063d0| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 6c 69 6e 65 |put "" i|nto line| |000063e0| 20 31 20 6f 66 20 66 6c | 64 20 22 63 64 69 6e 66 | 1 of fl|d "cdinf| |000063f0| 6f 22 0d 65 6e 64 20 69 | 66 0d 72 65 74 75 72 6e |o".end i|f.return| +--------+-------------------------+-------------------------+--------+--------+ Only 25.0 KB of data is shown above.